热度 2
2014-11-9 22:01
1637 次阅读|
0 个评论
how to make curve fitting in matlab ? Firstly, let's edit an M file for testing, codes as follow. tdata= ; ydata= ; plot(tdata,ydata,'x') we run this m file in matlab command window and then the plotting figure will appear as follow, now, select tools--basic fitting-- select fitting options in the results, we could see the fitting equations and every discrete fitting point errors. Also, we could find some result of interesting point under the fitting function and plot them in the curve. It is just for learning exchange , tks!