Community Profile

photo

Wilmark VILNO


Active since 2018

Followers: 0   Following: 0

Statistics

Feeds

View by

Question


Index in position 1 is invalid. Array indices must be positive integers or logical values. Error in Eulermethod1 (line 13) y(n+0)=(y(n)+h*f(t(n),y(n)));%calls the function f(t,y) =dydt
clear t clear y a=50.5; b= 5; N= 20; yo= 0; h= (b-a)/N; t(1)= a; y(1)= 10 f=-[50.5 -49.5; -49.5 50.5];% f =dydt for n=...

5 years ago | 1 answer | 0

1

answer