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.

Respuestas (0)

Categorías

Más información sobre Get Started with Curve Fitting Toolbox en Centro de ayuda y File Exchange.

Productos

Versión

R2019b

Preguntada:

el 24 de Abr. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by