Guest User

Untitled

a guest
Jul 21st, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MatLab 0.55 KB | None | 0 0
  1. Mean_STD_calc
  2. >>>This progam calculates the mean and standard deviation for a set of  
  3.  values input by the user
  4. Please input how many values you wish to find the mean and std of: 4
  5. NumVals =  4
  6. Vec =
  7.  
  8.    0
  9.    0
  10.    0
  11.    0
  12.  
  13. What is your value? 2
  14. Vec =
  15.  
  16.    2
  17.    0
  18.    0
  19.    0
  20.  
  21. What is your value? 4
  22. Vec =
  23.  
  24.    2
  25.    4
  26.    0
  27.    0
  28.  
  29. What is your value? 6
  30. Vec =
  31.  
  32.    2
  33.    4
  34.    6
  35.    0
  36.  
  37. What is your value? 8
  38. Vec =
  39.  
  40.    2
  41.    4
  42.    6
  43.    8
  44.  
  45. mean of your values = 5
  46. standard deviation o your values =2.582
  47.    2
  48.    4
  49.    6
  50.    8
  51. >>>
Add Comment
Please, Sign In to add comment