How to Calculate the Mean of a Matlab Array

MATLAB arrays shows a series of measurements used to determine distances, dimensions and other figures for a specific vector set. Typically, vectors come in sequences of three, and a MATLAB array can quickly determine these point values for a large number of vectors at once. Once you have an array in front of you, calculating the mean is easy and can be done in a matter of seconds with a calculator. The only tedious part of calculating the mean of a MATLAB array is that it will take more time to calculate means for an array with many vectors.

Things You'll Need

  • Calculator
Show More

Instructions

    • 1

      Add up the values of the vector set. Example: If the numbers are 4, 7, 7, then 4+ 7+ 7= 18.

    • 2

      Divide the number obtained in Step 1 by the number of numbers in the vector set (usually 3). Using the example above, 18/3= 6. The mean for the vector set in Step 1 would be 3.0.

    • 3

      Repeat this procedure for each vector set in the MATLAB array.

Related Searches:

References

Comments

You May Also Like

Related Ads

Featured