Community Profile

photo

Keith Grey


Last seen: casi 4 años hace Con actividad desde 2020

Followers: 0   Following: 0

Estadísticas

  • Thankful Level 3

Ver insignias

Feeds

Ver por

Pregunta


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...

casi 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

casi 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

casi 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

casi 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

casi 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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; % ...

casi 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

casi 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

casi 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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 ...

casi 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

casi 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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 = ......

casi 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

casi 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

casi 4 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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...

casi 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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.', ...

casi 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

casi 4 años hace | 2 respuestas | 0

2

respuestas