Image Processing Toolbox
  Go to function:
    Search    Help Desk 
mean2    See Also

Compute the mean of the elements of a matrix

Syntax

Description

b = mean2(A) computes the mean of the values in A.

Class Support

A is an array of class double or of any integer class. b is a scalar of class double.

Algorithm

mean2 computes the mean of an array A using mean(A(:)).

See Also

std2

mean, std in the online MATLAB Function Reference



[ Previous | Help Desk | Next ]