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 ExchangeData Types についてさらに検索

質問済み:

2011 年 4 月 26 日

Community Treasure Hunt

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

Start Hunting!

Translated by