Ode45 not working

2 visualizaciones (últimos 30 días)
Mo BO
Mo BO el 18 de Mayo de 2016
Comentada: Walter Roberson el 18 de Mayo de 2016
function [ dot ] = Untitled2( t,var )
dot=[var(1),var(2)*9.81*-1/0.2];
end

Respuesta aceptada

Walter Roberson
Walter Roberson el 18 de Mayo de 2016
dot=[var(1); var(2)*9.81*-1/0.2];
  2 comentarios
Mo BO
Mo BO el 18 de Mayo de 2016
Editada: Walter Roberson el 18 de Mayo de 2016
it worked however the dimension of solutions matrix is inverted ?? s is supposed to be 45*2 and t 45*1
Walter Roberson
Walter Roberson el 18 de Mayo de 2016
You posted a Question about this and I answered there.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

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

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by