Info
此问题已关闭。 请重新打开它进行编辑或回答。
data fitting in matlab
1 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!