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)];

Réponses (1)

Paulo Silva
Paulo Silva le 26 Avr 2011

0 votes

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

Catégories

En savoir plus sur Data Types dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by