Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.



Re: please help me. a small error in ODE routine
Posted:
May 20, 2012 7:10 AM


It's obvious, count the second function arguments.
"salman " <salmanabdullah9@gmail.com> wrote in message <jpah93$1kf$1@newscl01ah.mathworks.com>... > Yes this is all i need to do. i want to use the value from the output of the first ODE solver to be used in the second system of coupled equations, so i use the index w to pick out every value of the first quantity, and so i want to solve the second set of 2 coupled equatioons (dadr(1) and dadr(2)) for each value of the output "final2(j)=sum(real(Y_c3(j,2,:)));" > > can you please help me to figure this out? > > thanks alot. i am waiting for your kind help > > "Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <jpagih$sh5$1@newscl01ah.mathworks.com>... > > "salman " <salmanabdullah9@gmail.com> wrote in message <jpafgq$onj$1@newscl01ah.mathworks.com>... > > > > > > > > '??? Subscript indices must either be real positive integers or logicals.' > > > > > > > You change your question (it does not related to INTERP1 in the first post). > > > > Bruno



