Optimization of model parameters

10 visualizaciones (últimos 30 días)
Christo van Rensburg
Christo van Rensburg el 9 de Oct. de 2019
Comentada: Christo van Rensburg el 9 de Oct. de 2019
Hi
I'm busy trying to optimize a model that predicts the trajectory of a projectile. I have two parameters that needs to be optimized, drag coefficient and a compensation factor (Kv).
I'm comparing the ground height, maximum height reached and chronograph velocity of the model to that obtained during experiments. I need to reduce the %error between these three parameters as much as possible. I considered using "fminsearch" but cannot see how this wil work.
Any advice on how I would proceed with this and where to start instead of manually iterating the model?
Thanks in advance.

Respuesta aceptada

Stephan
Stephan el 9 de Oct. de 2019
Editada: Stephan el 9 de Oct. de 2019
Since you have measured values and you have an equation you should use lsqcurvefit to estimate the parameters. You find examples how to do this in the linked documentation site.
  1 comentario
Christo van Rensburg
Christo van Rensburg el 9 de Oct. de 2019
Hi Stephan
I will have a look at it thanks!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Nonlinear Optimization 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!

Translated by