fitting a polynomial function to data points and ploting it
古いコメントを表示
Hi all
I want to fit a quadratic function to a data serie in MATLAB and calculate determination coefficient (R2) as well as quadratic equation.so desired outputs are as below: - scatter plot of data serie i.e. (x, y) - plot of quadratic fitting - quadratic equation - determination coefficient (R2) Could you please guide me. thanks
採用された回答
その他の回答 (1 件)
Pawel Blaszczyk
2011 年 11 月 7 日
doc polyfit
doc polyval
I think this two function will be enoguh :)
カテゴリ
ヘルプ センター および File Exchange で Get Started with Curve Fitting Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!