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

回答(1 个)

Paulo Silva
Paulo Silva 2011-4-26

0 个投票

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

类别

在 帮助中心 和 File Exchange 中查找有关 Get Started with MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by