Phantom Documentation

[Help Home] [Phantom Home]
mean

real mean(real)

Return Type: real
Parameters: real inArray

Description:
The mean function returns the mean of the values in the input array.

Example Code
1 >>real r;
2 >>r[0] = 23.4;
3 >>r[1] = -36.5;
4 >>r[2] = 14.0;
5 >>disp(mean(r));
0.30000000000000


 


Copyright 2000-2011 Phantom Automated Solutions