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 commentaires

Rik
Rik le 20 Oct 2017
Have you tried your favorite internet search engine?
Have a read here and here. It will greatly improve your chances of getting an answer.
Walter Roberson
Walter Roberson le 20 Oct 2017
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
Patrick Lanard le 20 Oct 2017
I am fine if the coefficients give me ballpark of the real values (+-10%)!
Image Analyst
Image Analyst le 20 Oct 2017
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
Patrick Lanard le 20 Oct 2017
I don't know what the model is! Still, work in progress. Thank you for the information.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Get Started with Curve Fitting Toolbox dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by