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.
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 的更多信息

产品

版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by