Curve Fitting with Complex Value

5 views (last 30 days)
Evan Cheung
Evan Cheung on 17 Mar 2023
I would like to fit a function to a parabolic surface with translation and rotation. I am using custom equation inside the curve fitter. I have created the equation, but it seems that it cannot be fitted with complex value. My goal is to get the RMSE of the surface which I am trying to fit.

Answers (1)

Sulaymon Eshkabilov
Sulaymon Eshkabilov on 17 Mar 2023
Use the nonlinear fit with least squares method lsqcurvefit() - see this documentation:

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!