Guest User

Untitled

a guest
Jul 21st, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MatLab 0.46 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: 3
  5. NumVals =  3
  6. Vec =
  7.  
  8.    0
  9.    0
  10.    0
  11.  
  12. What is your value? 3
  13. Vec =
  14.  
  15.    3
  16.    0
  17.    0
  18.  
  19. What is your value? 6
  20. Vec =
  21.  
  22.    3
  23.    6
  24.    0
  25.  
  26. What is your value? 9
  27. Vec =
  28.  
  29.    3
  30.    6
  31.    9
  32.  
  33. mean of your values = 6
  34. standard deviation o your values =3
  35.    3
  36.    6
  37.    9
  38. >>>
Add Comment
Please, Sign In to add comment