Advertisement
SilLAwNeD

Scilab, tp07 trace2 script

Jan 2nd, 2019
2,520
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Scilab 0.42 KB | None | 0 0
  1. t1 = [0; 1; 3; 4; 5.5; 6]
  2. tau1 = t1
  3. A1 = construct(t1, tau1)
  4.  
  5. tau2 = [0.5; 2; 2.5; 3.5; 4.5; 5.75]
  6. y2 = [1; 1.5; 1.25; 0; 0; 1.5];
  7. A2 = construct(t1, tau2);
  8. x2 = mcnorm(A2, y2);
  9. plot(t1, x2)
  10. plot(tau2,y2,'.r')
  11.  
  12.  
  13.  
  14.  
  15. tau3 = 0.3 * (0:20)'
  16. y3=[0 0.6 1.4 1.7 2.1 1.9 1.6 1.4 1.4 1 0.5 0.4 -0.2 -0.8 -0.5 0 0.4 1 1.6 1.7 1.2]'
  17. A3 = construct(t1, tau3)
  18. x3 = mcnorm(A3, y3);
  19. plot(t1, x3)
  20. plot(tau3,y3,'.r')
  21. // QR
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement