Getting the values from the curve fitted model

Is there a way i can get the new values of the datas ( x and y) from the curve fitted model?

1 件のコメント

jonas
jonas 2018 年 8 月 5 日
編集済み: jonas 2018 年 8 月 5 日
How did you fit your model? fit? polyfit?

サインインしてコメントする。

 採用された回答

jonas
jonas 2018 年 8 月 5 日

0 投票

If you used fit:
p=fit(...) %your model
y=p(x) %evaluate your model at x
Similarily, if you used polyfit:
p=polyfit(...) %your model
y=polyval(p,x) %evaluate your model at x

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeLinear and Nonlinear Regression についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by