
Sine curve fitting for the given data
4 次查看(过去 30 天)
显示 更早的评论
I have a set of data,I need to fit the data to sine curve ..
Suggest a code..
Thanks
0 个评论
采纳的回答
更多回答(1 个)
Andreas Goser
2015-3-31
编辑:Andreas Goser
2015-3-31
"Suggest a code"...
Well, anyway, let us know if you have the Curve Fitting Tbx or Optimization Tbx available (output of 'ver' command) and provide a sample of data like 20 data points and then we can suggest an approach for you to code.
4 个评论
Torsten
2015-3-31
Sorry, should read
[x,resnorm] = lsqcurvefit(myfun,x0,xdata,ydata);
Best wishes
Torsten.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Interpolation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!