How can I do curve fitting depending in the following formula?
1 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(1 个)
Image Analyst
2022-12-4
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:
0 个评论
另请参阅
类别
在 Help Center 和 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!