![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/18497226_1589469735933_DEF.jpg)
Keith Grey
Followers: 0 Following: 0
Feeds
提问
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...
4 years 前 | 1 个回答 | 0
1
个回答提问
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...
4 years 前 | 1 个回答 | 0
1
个回答提问
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...
4 years 前 | 1 个回答 | 0
1
个回答提问
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...
4 years 前 | 1 个回答 | 0
1
个回答提问
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...
4 years 前 | 1 个回答 | 0
1
个回答提问
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; % ...
4 years 前 | 1 个回答 | 0
1
个回答提问
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...
4 years 前 | 1 个回答 | 0
1
个回答提问
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...
4 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
4 years 前 | 1 个回答 | 0
1
个回答提问
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...
4 years 前 | 1 个回答 | 0
1
个回答提问
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 = ......
4 years 前 | 1 个回答 | 0
1
个回答提问
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...
4 years 前 | 1 个回答 | 0
1
个回答提问
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...
4 years 前 | 0 个回答 | 0
0
个回答提问
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...
4 years 前 | 1 个回答 | 0
1
个回答提问
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.', ...
4 years 前 | 1 个回答 | 0
1
个回答提问
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...
4 years 前 | 2 个回答 | 0