What toolbox/function do I use?
显示 更早的评论
Hi
What toolbox/function do I use to Convert (x,y,z) data into a function y => f(x,z).
I need a nonlinear equation because the (x,y) data has an exponential relationship.
Thank you
5 个评论
Walter Roberson
2017-10-20
Do you already know what the form of the relationship is, but you just need to find the best match of coefficients from your experimental data? Is it necessary that the function exactly match the experimental data (to within round-off error), or are you considering the data to possibly have noise?
Patrick Lanard
2017-10-20
Image Analyst
2017-10-20
But what is the model? Is it y = ax^b + c*exp(d*z)? Probably not. Maybe it's y = exp(-a*x^2 + b*z^2)? Ok, probably not that either. Do you have some other form? You need to guess at a model and then MATLAB can get the unknown parameters.
For what it's worth, attached are some non-linear fit demos.
Patrick Lanard
2017-10-20
回答(0 个)
类别
在 帮助中心 和 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!