How to choose solver, optimization or curve fitting?
Mostrar comentarios más antiguos
Lets say I have 4 known curves in discrete values, S1,S2,S3 and S.
Supposedly S ≈ c1*S1 + c2*S2 + c3*S3 and C1+C2+C3 = 1, should I look into using curve fitting toolbox or the optimization toolbox to find the individual values C1, C2 and C3 that will give me a resultant curve that is closest to S?
I am new to this topic and would appreciate pointers to choosing the appropriate algorithm and how to incorporate the constraint C1+C2+C3 = 1 into the curve fit/otimization.
Thanks for any help that I can get.
Respuesta aceptada
Más respuestas (1)
Ahmet Cecen
el 2 de Ag. de 2014
1 voto
You can either use a regularized regression function, or the optimization toolbox. I would guess optimization is the easier choice. Try lsqlin.
Categorías
Más información sobre Choose a Solver en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!