photo

Keith Grey


Last seen: plus de 4 ans il y a Actif depuis 2020

Followers: 0   Following: 0

Statistiques

  • Thankful Level 3

Afficher les badges

Feeds

Afficher par

Question


How can I update 2 separate figures without opening new figures?
When plotting 1 figure, hold on works fine. With two figures, it keeps opening a new window. How can I make 2 figures, and updat...

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


How can I solve this matrix for y?
M = [1 0 0 0; 0 1 0 0; 0 0 20 0; 0 0 0 10]; % Mass matrix y = [x1; x2; v1; v2]; % Displacement & Velocity Matrix B = [0 0 -1...

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


Solving matrices in form of (A + Bx = C)?
% How do I write to solve for y? A = [1 2; 3 4]; B = [0 0; 1 1]; y = [x1; x2]; C = [1; 0]; % y should be a 2x1, but I'm g...

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


How to plotting symbolic solution over range?
syms y(x) ode = x * diff(y, x) == (50) * x * diff(y, x, 2) - (40.3) * x + (101); % DE shown above. x_dot = dsolve(ode); p...

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


How can I format this dsolve argument?
I'm not too familiar with solving DE's in matlab, but I keep getting an error when trying to implement this solution. Is there a...

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


How to solve mass spring damper over frequency (differential equation)?
This is a mass-spring-damper system equation with a function dependent on frequency (M, R, & K in parethesis). f = 50:450; % ...

plus de 4 ans il y a | 2 réponses | 0

2

réponses

Question


How can I solve & this 2nd order differential equation?
% x = x'' % y = x' % z = x % Conditions f = 50:1:200; % Frequency span (Hz) for f = 50:1:200 Equation = 50x - 10...

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


How can I use the coupled system of matrices (ODE45) using a frequency span?
I haven't found much information in the Documentation addressing a case like this, so I'm unsure of where to even begin. The fo...

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


Use ODE45 with a frequency span instead of time?
I have 2 coupled differential equations. I'm trying to use ODE45, but it requires a time span (tspan). Is there a way to use a ...

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


How can I extract curve data from a .FIG file?
I have 10 .FIG files plotted using the segment below. yyaxis left plot(50:450, V1 * 10^6, 'r') xlabel('Frequency (Hz)') ylab...

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


How can I extract Information from .FIG Files?
I have 200+ .FIG files with X & Y Data. I'm trying to do something like: X = 1:1000; Y1 = get(Xdata, 'Figname.fig'); Y2 = ......

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


Save a .FIG as .JPG (syntax error?)
I currently have a string varible that updates my fig title and file names. savefig(sprintf('%s - F vs V.fig', NAME)) But I al...

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


How can I read a .DAT file into a variable?
Currently, I collect data in .DAT format, use an older software package to convert it to .CSV, and read it into MATLAB using: F...

plus de 4 ans il y a | 1 réponse | 0

0

réponse

Question


Specifying a range in a double
% Values is a 401x1 double: 1 - 401 % In this example, I want to take the mean from Values(90) to Values(110). % Specify Bou...

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


How can I save the outputted string (retaining tabs/added lines) to a .txt file?
How can I save the outputted string (retaining tabs/added lines) to a .txt file? MESSAGE = sprintf('Var1 is %g.\nVar2 is %g.', ...

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


How can I put a string variable into a Figure Title?
FILE_NAME = '1.A.A'; figure('Name', 'Figure 1') plot(X, Y, 'LineWidth', 1) title('FILE %s: X vs Y (dB Mag)', FILE_NAME) sa...

plus de 4 ans il y a | 2 réponses | 0

2

réponses