Community Profile

photo

Mitchell Thurston


Last seen: 2 jours il y a Actif depuis 2020

Followers: 0   Following: 0

Statistiques

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

Afficher les badges

Feeds

Afficher par

A répondu
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)

24 jours il y a | 0

A répondu
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...

24 jours il y a | 0

A répondu
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...

30 jours il y a | 0

A répondu
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 ...

plus de 2 ans il y a | 1

| A accepté

A répondu
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...

plus de 2 ans il y a | 1

A répondu
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...

plus de 2 ans il y a | 1

A répondu
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...

plus de 2 ans il y a | 1

A répondu
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...

plus de 2 ans il y a | 2

| A accepté

A répondu
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...

plus de 2 ans il y a | 0

| A accepté

A répondu
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, ... ...

plus de 2 ans il y a | 0

A répondu
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(:)',...

plus de 3 ans il y a | 1

A répondu
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...

plus de 3 ans il y a | 0