Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Apr 25th, 2012  |  syntax: None  |  size: 0.18 KB  |  hits: 6  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. function[x,y] = Oblig2opg3(N)
  2.  
  3. t=linspace(1, N, N*10^3 + 1);
  4. x = (1 + (1/6)*sin(3*t) +(sqrt(3)/6)*sin(3*sqrt(3)*t));
  5. y = (2 + (1/6)*sin(3*t) -(sqrt(3)/6)*sin(3*sqrt(3)*t));
  6.  
  7.  
  8. end