Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

data fitting in matlab

1 Ansicht (letzte 30 Tage)
Iris
Iris am 15 Mai 2013
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
Hello everyone! I have 3 sets of data: xdata, ydata and error_ydata. I need to fit this data according to a equation like this:
y_fit = c1*sin((2*pi*y_data)/c2 - c3) + c4
where c are constants, and the parameters to find.
I've tried several matlab functions like fittype or lsqcurvefit but they require very close initial estimates for the 4 constants to work. The point was to find these constants whichever are the initial estimates you give.
Any idea?
Thank you in advance. My best regards

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by