Acceleration, velocity, distance .. fastest calculation method please

4 visualizaciones (últimos 30 días)
Keith Elliott
Keith Elliott el 15 de Jun. de 2018
Comentada: Keith Elliott el 15 de Jun. de 2018
Hi,
Knowing the velocity x in m/s, acceleration y in m/s^2, and duration of acceleration t in seconds, I will want to calculate distance travelled during time period t and velocity at the end of that time period t.
I'm going to need to do this a lot of times (potentially order of 1E10 times).
Please can anyone tell me what they think the likely fastest way to do this in matlab would be and why it's likely to be fastest.
Many thanks in advance.
  6 comentarios
Bill Greene
Bill Greene el 15 de Jun. de 2018
I suggest reading this chapter from Cleve Moler's book to get an introduction to this topic: Numerical Computing with MATLAB. This introduction will help explain why MATLAB has a variety of methods for ODE solution and why you almost certainly don't want to write your own.
Keith Elliott
Keith Elliott el 15 de Jun. de 2018
Thanks .. that's a nice chapter! (I'd largely forgotten about Jacobians and Gauss-Seidel ... my poor ageing brain!)
It looks as if the ode functions (solvers) within Matlab are well established.
I only took maths to bachelor degree level so pretty much all I know seems well encapsulated within Matlab! This is just a fun project for me.
Thanks to all three of you for the comments.
No doubt I shall bumble around happily for some time and come up with nothing .. but at least I'll enjoy the journey!

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Mathematics en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by