create best fit line
6 ビュー (過去 30 日間)
古いコメントを表示
if i have a bunch of random numbers how do i create a best fit line for my data
0 件のコメント
回答 (2 件)
Win co
2012 年 5 月 11 日
I suggest you to use "cftool". You have to possess an input and an output vector. The tool has a lot of fit function : gaussian, weibul, sum of sin, fourier, poly, exp, ...
0 件のコメント
Daniel Shub
2012 年 5 月 12 日
If you just want to plot the data and line
doc lsline
If you want the equation for the the line
doc polyfit
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Interpolation についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!