The following Matlab project contains the source code and Matlab examples used for mean(x,dim,categ) - take the mean of x along dim, but grouped according to a categorical variable. .
mu = groupMeans( X, DIM, CATEG )
MEAN of the matrix X along dimension specified, but grouping the other dimensions according to the categories in 'categ'.

The source code and files included in this project are listed in the project files section, please make sure whether the listed source code meet your needs there.

## Project Files:

File Name | Size |
---|---|

groupMeans.m | 1876 |

license.txt | 1314 |