Fitting a vector field with "fit" ?

3 views (last 30 days)
Bart Dikken
Bart Dikken on 24 Apr 2021
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.

Answers (0)

Categories

Find more on Get Started with Curve Fitting Toolbox in Help Center and File Exchange

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!