How can I do curve fitting depending in the following formula?

1 Ansicht (letzte 30 Tage)
M
M am 4 Dez. 2022
Beantwortet: Image Analyst am 4 Dez. 2022
I am doing a research and I want to do curve fitting and know the value of "V" depinding on the following function:
F(V) = (K-M*W^2)*V
K,M,W are known matrices, V is a vector and its size is 7*1
I know the 2nd, 4th and 6th values of V, and I want to know the rest values using a curve fitting depending on the above function.
Any suggestions please?
Note: I have used so many techniques of curve fitting like ploy, exp,... / Lagrange inter. / Spline ... but they didn't return the exact values that I want, that's why I want to use the above formula.
Thanks

Antworten (1)

Image Analyst
Image Analyst am 4 Dez. 2022
So you know K, M, W, and 3 of the 7 values of V. Can't you just multiply out all the matrices, and have the remaining values of V be unknowns. Of course you need the value of F or you can't do the fit. But then you can simply use fitlm to determine the unknown values of V.
If you have any more questions, then attach your data and code to read it in with the paperclip icon after you read this:

Kategorien

Mehr zu Get Started with Curve Fitting Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by