Getting the values from the curve fitted model
3 次查看(过去 30 天)
显示 更早的评论
Is there a way i can get the new values of the datas ( x and y) from the curve fitted model?
采纳的回答
jonas
2018-8-5
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 个)
另请参阅
类别
在 Help Center 和 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!