photo

Mitchell Thurston


Last seen: 2 months ago Active since 2020

Followers: 0   Following: 0

Statistics

All
  • Knowledgeable Level 2
  • Community Group Solver
  • Introduction to MATLAB Master
  • First Answer
  • Solver

View badges

Feeds

View by

Answered
How can I insert a variable into a plot legend, with a special character following the variable?
You can use sprintf formatting to get the variable inserted. You can also set the legend interpreter for latex formatting to get...

2 months ago | 0

Answered
I can't see the cosine graph. How do I generate the cosine graph using 2^10 samples?
You should be able to just get rid of the for loop, ydata = 5 + 10*cos(2*pi*time+pi/6)

8 months ago | 0

Answered
I made a folder with 12 .fig files, I am attempting to convert these to jpeg using a loop.
You can do it by running this code while inside the Figures directory files = ls; % get filenames of everything in that directo...

8 months ago | 0

Answered
Basic FFT Question: What range to sample the function in.
When you perform an FFT, it is assumed that the original signal is on a timespan from [0 to 2*pi]. When you pass these signals a...

8 months ago | 0

Answered
How can I obtain the derivative of a vector? Displacement-Velocity but what about acceleration? I am using the space state formulation
(Altered the code provided so that it ran properly) clc; %command window clear;%clear workspace close all; % close figures ...

3 years ago | 1

| accepted

Answered
trouble coding for ODE's
this is definintely an inefficient way of doing it, but this accomplishes everything syms dx(t) x(t) m c k w % these are the te...

3 years ago | 1

Answered
How can I 'hold off' specific Field vector using "quiver" into a updated "drawnown" inside a plot?
I'm assuming you're calling quiver in the "quiver(x,y,u,v)" style, since you can't use 1 argument % After plot 1 is made hol...

3 years ago | 1

Answered
How to add regression line equation to a plot?
the most simple way I know of would be to add it to the legend you can add this to the last line of your code legend({'Data Po...

3 years ago | 1

Answered
solve function can't solve an inequality
I'm able to get a solution with defining k as a real symbolic variable syms k real ineqs = [0 < 320/9 - k/9, 0 < (9*k + (k/9...

3 years ago | 2

| accepted

Answered
For loop circles that wrap around another circle
Modified the calculation of alfa, R, and a slight change with the for loop clear; r=1; % small circles radius n=17; %number...

3 years ago | 0

| accepted

Answered
I wan to create a 3x3 matrix and this matrix needs to contains first 3 raws and last 3 columns of other matrix which is unknown.
With the original larger matrix you want the rows and columns from being "A" and the resulting 3x3 being "B", A = B(1:3, ... ...

3 years ago | 0

Answered
Closest Points between two datasets without using pdist2
Came up with a solution: [m,~] = size(A); [n,~] = size(B); A_rep = repmat(A,n,1); B_rep = B'; B_rep = repmat(B_rep(:)',...

4 years ago | 1

Answered
Rotate circle on polar plot
For this specific case, you can rotate by adding within the sin(theta) call. theta = linspace(0,2*pi); rot_ccw = 1; % rotate...

4 years ago | 0