Hello everybody. I'm new in MATLAB and I have a problem. I have a table (100 row x 2 col) of data and this data have some noise. To eliminate the noise I use the fit function like that:
f = fit(X_axis,Y_axis,'smoothingspline','SmoothingParam',0.9999907449908739);
I can plot the curve fit using this
plot(f,X_axis,Y_axis)
Now I need to get the peaks of the resulting curve fit. I try the function 'findpeaks(f)' but it doesn't work.
Has somebody a idea to solve this problem? Thank you all,
Best Answer