How to find values of variables when a value is known (after using curve fitter)?
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Deepshikha Deo
el 15 de Feb. de 2024
Comentada: Deepshikha Deo
el 26 de Feb. de 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 comentarios
Respuesta aceptada
Drew
el 21 de Feb. de 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.
Más respuestas (0)
Ver también
Categorías
Más información sobre Get Started with Curve Fitting Toolbox en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!