MATLAB: What will be the program in matlab to find the average of various numbers

arithmetic meanaverage

average means the sum of a list of numbers divided by the size of the list, in other words the arithmetic mean.

Best Answer

mean(X)
where X is a vector of the list of numbers
OR
mean([1 3 4 5 7 3])
Where your numbers are in the square brackets