photo

Matthew Atugege


Active since 2016

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


i keep getting this Attempted to access y(1.5); index must be a positive integer or logical. when trying to implement a numerical hybrid scheme involving y(i+1/2) . here's the code so far: the problem is in line36
function[x,y]=secondode1(x0,x1,y0,z0,n) format long f=@(x,y,z)z; g=@(x,y,z) -6/x*z-4/x^(2)*y; x0=1; x1=0.00312...

8 years ago | 1 answer | 0

1

answer