Advertisement
Guest User

Untitled

a guest
Oct 5th, 2018
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Octave 0.10 KB | None | 0 0
  1. t=0:0.5:20;
  2.  
  3. function dhdt=dhdt(h)
  4.     dhdt=3-0.5*h;
  5. endfunction
  6.  
  7. h=lsode("h",1.5,t);
  8.  
  9. plot(t,h)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement