Community Profile # William Rose

Attivo dal 2007

#### Statistiche

All
• • • • • • • • • • #### Content Feed

Visto da

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

6 giorni fa | 0

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

8 giorni fa | 0

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

10 giorni fa | 0

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

17 giorni fa | 1

| accettato

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

17 giorni fa | 0

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

17 giorni fa | 0

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

17 giorni fa | 1

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

18 giorni fa | 0

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

19 giorni fa | 0

| accettato

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

23 giorni fa | 0

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

24 giorni fa | 1

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

24 giorni fa | 0

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

24 giorni fa | 0

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

25 giorni fa | 0

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

25 giorni fa | 0

Risposto
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(:...

25 giorni fa | 0

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

26 giorni fa | 2

Inviato

Bilinear Fit
Fit two intersecting straight lines to a set of x,y data points. Risposto
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...

27 giorni fa | 0

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

27 giorni fa | 1

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

28 giorni fa | 0

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

circa un mese fa | 0

| accettato

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

circa un mese fa | 1

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

circa 2 mesi fa | 0

| accettato

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

circa 2 mesi fa | 0

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

circa 2 mesi fa | 0

Risposto
Getting an equation from a signal transfer function

circa 2 mesi fa | 0

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

circa 2 mesi fa | 0

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

circa 2 mesi fa | 0

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

circa 2 mesi fa | 0

| accettato