SHARE
TWEET

Scilab, courbe function

SilLAwNeD Nov 15th, 2018 129 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function courbe(N)
  2.     t = linspace(0, 2*%pi, N);
  3.     x = 2 * cos(t);
  4.     y = 2 * sin(t);
  5.    
  6.     x2 = linspace(-2, 2, N);
  7.     y2 = exp(x2)
  8.    
  9.     plot(x, y);
  10.     plot(x2, y2, 'r');
  11. 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