Runge-Kutta 2

i have to write a program implementing Runge-Kutta 2 using a structured array and i dont know what to do this is how i have to start the program i would really appreciate some help
function [ t, v ] = hw10rk2( func,t0, v0, h, n)
v= [x,y];
v0= [x0,y0];
t(k)=t0+k*h;
v(t)=[x(t),y(t)];

Respuestas (1)

Paulo Silva
Paulo Silva el 26 de Abr. de 2011

0 votos

Have a look at this, it includes matlab code and many tutorials.

Categorías

Más información sobre Data Types en Centro de ayuda y File Exchange.

Preguntada:

el 26 de Abr. de 2011

Community Treasure Hunt

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

Start Hunting!

Translated by