Sum of sines optimized starting points
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Andrew
el 22 de Nov. de 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,
0 comentarios
Respuesta aceptada
Torsten
el 23 de Nov. de 2023
Editada: Torsten
el 23 de Nov. de 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.
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Least Squares en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!