![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/175709/image.png)
Sine curve fitting for the given data
10 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Betha Shirisha
am 31 Mär. 2015
Kommentiert: Betha Shirisha
am 31 Mär. 2015
I have a set of data,I need to fit the data to sine curve ..
Suggest a code..
Thanks
0 Kommentare
Akzeptierte Antwort
LUI PAUL
am 31 Mär. 2015
try this
cftool(data11(:,1),data11(:,2)); and follow the figure
<<
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/175709/image.png)
>>
0 Kommentare
Weitere Antworten (1)
Andreas Goser
am 31 Mär. 2015
Bearbeitet: Andreas Goser
am 31 Mär. 2015
"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 Kommentare
Torsten
am 31 Mär. 2015
Sorry, should read
[x,resnorm] = lsqcurvefit(myfun,x0,xdata,ydata);
Best wishes
Torsten.
Siehe auch
Kategorien
Mehr zu Interpolation finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!