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에서 Data 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