How to find values of variables when a value is known (after using curve fitter)?
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Deepshikha Deo
am 15 Feb. 2024
Kommentiert: Deepshikha Deo
am 26 Feb. 2024
I have used curve fitter app for my xyz data. The custom equation I used is :
a0*exp(-(((x-x0)*cos(phi)+(y-y0)*sin(phi))^2/0.5*ax^2) - (((y-y0)*cos(phi)-(x-x0)*sin(phi))^2/0.5*ay^2))
The equation has six unknown variables : a0, ax, ay, phi, x0, and y0. After fitting the equation on the data, the values obtained were as follows
a0 = 2.7451, ax = 8.1356, ay = 10.3918, phi = 4.1032, x0 = 88.3697, and y0 = 22.5765
I wanted to find the values of ax and ay when the value of a0 is 61% of its value (i.e., 1.6745). How can I do so?
Thank you
Regards
2 Kommentare
Akzeptierte Antwort
Drew
am 21 Feb. 2024
Assume this is a surface fit z = f(x,y) as in Curve Fitter app. If it is given that a0 = 1.6745, then substitute that into your given custom equation
a0*exp(-(((x-x0)*cos(phi)+(y-y0)*sin(phi))^2/0.5*ax^2) - (((y-y0)*cos(phi)-(x-x0)*sin(phi))^2/0.5*ay^2))
which results in the new custom equation
1.6745*exp(-(((x-x0)*cos(phi)+(y-y0)*sin(phi))^2/0.5*ax^2) - (((y-y0)*cos(phi)-(x-x0)*sin(phi))^2/0.5*ay^2))
Finally, use the new custom equation in the curve fitter app to complete a new surface fit on your data. The new surface fit will solve for values of ax, ay, phi, x0, and y0.
If this answer helps you, please remember to accept the answer.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Get Started with Curve Fitting Toolbox finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!