Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

data fitting in matlab

1 vue (au cours des 30 derniers jours)
Iris
Iris le 15 Mai 2013
Clôturé : MATLAB Answer Bot le 20 Août 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

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by