meanX
by dberm22
30 Nov 2011
meanX calculates the mean (a single value) for any X-dimensional matrix.
|
Watch this File
|
| File Information |
| Description |
Just like mean2() calculates the entire mean (a single value) of a 2D matrix, meanX calculates the entire mean for any X-dimensional matrix.
Use meanX() to replace mean2() as it is much more robust (it is not just restricted to 2D matrices). Use it on a 3D, or anyD matrix, and it will work just fine.
This is an extremely simple but incredibly useful macro which I use much more often than I would have initially expected. |
| Required Products |
MATLAB
|
| MATLAB release |
MATLAB 7.13 (2011b)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
|
Contact us at files@mathworks.com