Fitting a vector field with "fit" ?
显示 更早的评论
I have a function that has a vector field output f(x,y) = [u, v] where u and v are matrices with size(u)=size(v) = n x n.
Instead of surface fitting with z = f(x,y), I would like to fit this function to vector field from experimental data.
Similar to the question asked in this thread: https://nl.mathworks.com/matlabcentral/answers/58763-fitting-vector-valued-functions
The answers from 2013 proposes lsqcurvefit, but can this also be done with "fit" ? Or does anyone have a suggestion to reformulate my fitting problem?
I can only find surface fitting in the documentation of the matlab "fit" tool.
Thanks in advance! If necessary I can supply example code.
回答(0 个)
类别
在 帮助中心 和 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!