| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Image Processing Toolbox |
| Contents | Index |
| Learn more about Image Processing Toolbox |
B = mean2(A)
B = mean2(A) computes the mean of the values in A.
The input image A can be numeric or logical. The output image B is a scalar of class double.
mean2 computes the mean of an array A using mean(A(:)).
mean, std in the MATLAB Function Reference
![]() | mat2gray | medfilt2 | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |