![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/175709/image.png)
Sine curve fitting for the given data
조회 수: 10 (최근 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!