Respondida
findpeaks () doesn't find all peaks in function
@Michel, I see that the mat file contains the vector VP01f8, size 28600x1. I assume this is the signal of interest. I will refe...

alrededor de 2 años hace | 2

Respondida
Moving Standard Deviation issues with NaN values (i.e., Stdfilt). Alternatives and workarounds?
@Simone A., [Edit: I attached the script twice. I am removing the earlier version.] See attached script. Key steps, which occu...

alrededor de 2 años hace | 0

| aceptada

Respondida
How to calculate the SNR of SSVEP signal after Fourier transform?
@潇轩 王, YOu say "why can't I get the same result?" Please explain more clearly what thing is not the same as what other thing. ...

alrededor de 2 años hace | 1

Respondida
Segment data into overlapping windows
@Panos Kerezoudis, you did not specify the sampling rate. You said you have time series data (1x300). I assume 300 is the num...

alrededor de 2 años hace | 0

| aceptada

Respondida
3-D Polar Plot from mat Data
@Naeem, [Edit: added references to the File Exchange programs you referenced.] I am surprised that you were not satisfied with...

alrededor de 2 años hace | 0

| aceptada

Respondida
FFT from CSV data file
@Mathias Braun, data=importdata('test_amplitude_50.2 (1).csv'); y=data.data; % signal N=length(y); % length of ...

alrededor de 2 años hace | 1

Respondida
Fitting Curve To Polarplot Data
@israel cohen, Matlab's lsqcurvefit is very good. The help for it has many good examples. As the name suggests, the error fun...

alrededor de 2 años hace | 0

Respondida
projecting 2D (x, y) coordinates onto a 3D plane
@Giuseppe Cecchelli, I think you know more than I do about Matlab's camera projection algorithms. Therefore I do not expect tha...

alrededor de 2 años hace | 1

| aceptada

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 2 años 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.] [edit: Fix mistake in equation - thank you @Paul.] Y...

alrededor de 2 años hace | 1

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

alrededor de 2 años 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)...

alrededor de 2 años hace | 1

| aceptada

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

alrededor de 2 años 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...

alrededor de 2 años 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...

alrededor de 2 años 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...

alrededor de 2 años hace | 0

| aceptada

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

alrededor de 2 años hace | 0

| aceptada

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

alrededor de 2 años 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...

alrededor de 2 años 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...

alrededor de 2 años 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...

alrededor de 2 años 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, ...

alrededor de 2 años hace | 0

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

alrededor de 2 años 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(:...

alrededor de 2 años 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...

alrededor de 2 años hace | 2

Enviada


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

alrededor de 2 años hace | 3 descargas |

0.0 / 5
Thumbnail

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

alrededor de 2 años 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.

alrededor de 2 años 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 ...

más de 2 años 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...

más de 2 años hace | 0

| aceptada

Cargar más