SHARE
TWEET

Scilab, tracevdp function

SilLAwNeD Nov 28th, 2018 142 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function tracevdp(a, t0, T, Nptmil, Node)
  2.     // Approximation VDP
  3.     u = pointmilieu(a, t0, T, Nptmil, vdp);
  4.    
  5.     // Approximation ODE
  6.     t = linspace(t0, T, Node+1);
  7.     x = ode(a, t0, t, vdp)
  8.    
  9.     plot(u(1,:), u(2,:));
  10.     plot(x(1,:), x(2,:), 'r');
  11.    
  12.     title('VDP');
  13. endfunction
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top