Also can you remind me how i write the ode45 when i have a vector(nx1) and not a number?
I call this function with ode(@diplomatiki, [0 20], zeros(n+3,2))
It might be an error regarding dimensions since I am not sure how to cope with vectors
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!