Community Profile # William Rose

All
• • • • • • • • • • Ver insignias

#### Content Feed

Ver por

Respondida
correct conversation from polar to cartesian coordinates for a surface profile
@Jessica Winkler, [edit: clean up copy-paste error, remove a line of code I added that was superfluous] [edit: Reverse the axi...

alrededor de 9 horas hace | 0

Respondida
Unable to find transfer functon using model linearizer
@S J Lohit Prakash, [edit: Fix a typo in the y-axis label of two plots.] You and @Paul are skilled in using Mat;lab's tools fo...

2 días hace | 0

Respondida
Estimating transfer function of a system with input and output values as well as kp and ki values
Keaton, what do you get if you analyze the new data with code used to analyze the earlier data? What differences between the tra...

5 días hace | 0

Respondida
How can I get a two-dimensional contour line graph from Wavelet Time-Frequency analysis?
@Navid, Here is an example: fs=1000; % sampling rate (Hz) t=(0:1000)/fs; % time vector for x (s) x=chirp(t,50,1,300)...

12 días hace | 1

Respondida
Combine two MATLAB figures with two different y axes
@Belinda, I packaged the raw data into a single .mat file, attached. I will make two figures. Figure 1 has two panels. Figure...

12 días hace | 0

Respondida
Estimating transfer function of a system with input and output values as well as kp and ki values
@Keaton Looper, Yes you can. You can estimate the overall transfer function from Vin(t) to Vout(t) by using tfestimate(), if y...

12 días hace | 0

Respondida
In the case of a previously filtered signal, what methods can be employed to identify its filter characteristics?
@G, If you only have the filtered signal, and not the original, then you are out pf luck, unless you know, or are willing to as...

12 días hace | 1

Respondida
How can I draw a plane between 2 points ?
@VIGNESH BALAJI, You need to specify the third point (P2) in order to define a unique plane, and the third point must not be co...

12 días hace | 0

Respondida
Hanning Window Energy Density Value
@Selina, The normalization of the power spectrum is tricky. For example,there is the power spectrum and the power spectral dens...

13 días hace | 0

Respondida
Why does ode45 output "NaN" after some time, with this time depending on the input
@Merritt, There was an error when I ran testinstudy, because it calls heightconst(), which you did not provide. SO I commented ...

18 días hace | 0

Respondida
how to crop figures from excess white area
@Sven Larsen, One can reduce the whitespace by clicking and dragging the edgesof the image window so that it more closely matche...

18 días hace | 1

Respondida
Cropping an irregular image in matlab
@Lauren Smith, it appears to me that a rectangular crop would work for this image. A rectangle can be selected that includes not...

18 días hace | 0

Respondida
How can I fix my code of the heat equation?
@Jesus, [Edit: Correct "x(i)=pos(1) & y(j)=pos(2)" to "x(i)==pos(1) & y(j)==pos(2)".] [Edit: Fixed the update formula.] Am I...

19 días hace | 0

Respondida
Rungekuttan for a system of 2 DOE functions
@Emelia, I recommend that you write a set of first order differential equations for your system. Let the four variables be x, ...

19 días hace | 0

Respondida
@Bumpa, deg2nm(1) And when I run it locally I get the same thing.

19 días hace | 0

Respondida
How to apply the same operation to an ever increasing number of columns?
@Zulfiqar Alibhai [I moved my suggestion from comment section to answer section.] a=[1:7]; b=zeros(20,7); c=b; for j=1:7, b(:...

19 días hace | 0

Respondida
Solve Displacement Driven Mass/Spring System
@Joerg Fricke-Schmidt, You have written a system of first order differential equations, but I don't think it describes the syst...

21 días hace | 2

Bilinear Fit
Fit two intersecting straight lines to a set of x,y data points.

21 días hace | 15 descargas | Respondida
Solving a system of ordinary differential equations
@Emily, It looks reasonable to me, especially when I simulate for a longer time. tspan = [0 500]; %timespan y0 = [0.0675 0...

21 días hace | 0

Respondida
How can I make a vector that looks like this [2 1 2 1 1 4 1 1 6 1 1 8...1 100 1]?
@Rowdy cv4=[2,1,2,ones(1,148)]; for i=6:3:151, cv4(i)=2*i/3; end cv4 Try it.

22 días hace | 1

Respondida
I want to fit the curve with two linear curves and find the point where the fitted curve deviates from the linear relationship, sort of the tangent point.
@T, [edit: corrected typo in formula for ] The figure you included shows two striaight lines (black) fitted to a portion of a ...

22 días hace | 0

Respondida
how to make linear fit
@ahmad Saad, There are a number of ways you could do it. here is one example: x=0:100; y=2*x+20+10*randn(1,101); p=polyfit(x...

alrededor de 1 mes hace | 0

Respondida
Repeating elements in a vector
@Furkan Sencer Kaçar, A = [0,1; 1; 5; 10; 20] is not valid because it uses a comma as well as semicolons. I assume you meant...

alrededor de 1 mes hace | 1

Respondida
2nd Order Non-Linear Equation Numerical Solution and Plot
@Conlen O'Brien, tspan=[0 10]; x0=[-25 0]; A=1; B=1; [t,x] = ode45(@(t,x) [x(2);-A+B*x(2).^2], tspan, x0); Do you think the...

alrededor de 1 mes hace | 0

Respondida
How to obtain the translational and angular accelerations of center of mass in rigid body
@Feng, I have moved my comment to an answer, since that is what I intended. To start, we should know the positions of the senso...

alrededor de 1 mes hace | 0

Respondida
How to do FFT on I,Q data
@Ankit, Let's assume you have read in data from a two-column file. Column 1 is in-phase, column 2 is quadrature. N=256; fs=1...

alrededor de 1 mes hace | 0

Respondida
Getting an equation from a signal transfer function

alrededor de 1 mes hace | 0

Respondida
a code that works before started working so why
@Min Khant, This method makes things look a lot more complicated than necessary. The state vector x() has the usual components...

alrededor de 1 mes hace | 0

Respondida
FFT Analysis Issue: Unexpected Harmonic Multiples in Vibration Signal Frequency Plot
@Valeriya Kostyukova, [edit: corect typos] I agree with @Star Strider that you are plotting the 2-sided spectrum, and that is ...

alrededor de 1 mes hace | 0

Respondida
How to add vertical axis break to given plotting scheme
@Tristen, Check these out at the File Exchange: https://www.mathworks.com/matlabcentral/fileexchange/45760-break-y-axis?s_tid=...

alrededor de 1 mes hace | 0