Advertisement
Guest User

Untitled

a guest
Mar 28th, 2017
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. x=[-10:1:10];
  2.  
  3. y=1/x;
  4.  
  5. plot(x,y)
  6.  
  7. -->x
  8. x =
  9.  
  10.  
  11. column 1 to 12
  12.  
  13. - 10. - 9. - 8. - 7. - 6. - 5. - 4. - 3. - 2. - 1. 0. 1.
  14.  
  15. column 13 to 21
  16.  
  17. 2. 3. 4. 5. 6. 7. 8. 9. 10.
  18.  
  19. -->y
  20. y =
  21.  
  22. - 0.0129870
  23. - 0.0116883
  24. - 0.0103896
  25. - 0.0090909
  26. - 0.0077922
  27. - 0.0064935
  28. - 0.0051948
  29. - 0.0038961
  30. - 0.0025974
  31. - 0.0012987
  32. 0.
  33. 0.0012987
  34. 0.0025974
  35. 0.0038961
  36. 0.0051948
  37. 0.0064935
  38. 0.0077922
  39. 0.0090909
  40. 0.0103896
  41. 0.0116883
  42. 0.0129870
  43.  
  44. y=1/x';
  45.  
  46. plot(x',y);
  47.  
  48. plot(x,y');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement