Sum of sines optimized starting points

1 view (last 30 days)
Andrew
Andrew on 22 Nov 2023
Edited: Torsten on 23 Nov 2023
Dear community,
Matlab uses optimized starting points to fit a sum of sines model to data in the Curve Fitting Toolbox.
Does somebody know the algorithm MATLAB uses to determine the starting points? I have a slightly different sines model, but the optimized starting points are not available for custom equations.
Best regards,

Accepted Answer

Torsten
Torsten on 23 Nov 2023
Edited: Torsten on 23 Nov 2023
If your problem is linear in the fitting parameters (which is usually the case for a sum of sines), you don't need initial values for the parameters. You can directly determine the parameters in one step by solving an overdetermined linear system of equations.

More Answers (0)

Categories

Find more on Linear and Nonlinear Regression in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!