Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

data fitting in matlab

3 visualizzazioni (ultimi 30 giorni)
Iris
Iris il 15 Mag 2013
Chiuso: MATLAB Answer Bot il 20 Ago 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

Risposte (0)

Questa domanda è chiusa.

Community Treasure Hunt

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

Start Hunting!

Translated by