Get from Ico-github-logo

Highlights from

  • aggregate(x, y, fun)
    AGGREGATE Aggregate values into cell array
  • View all files
5.0 | 2 ratings Rate this file 6 Downloads (last 30 days) File Size: 141 KB File ID: #42577 Version: 1.1



Kelly Kearney (view profile)


11 Jul 2013 (Updated )

Group (and apply functions to) values in one matrix based on grouping variables in another

| Watch this File

File Information

Collect Matlab data into a cell array based on a grouping variable, similar to (but more flexible than) accumarray.

Required Products MATLAB
MATLAB release MATLAB 8.1 (R2013a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (2)
29 Oct 2015 Jeff

Jeff (view profile)

Very nice, thanks

08 Sep 2015 John

John (view profile)

Great code, thanks Kelly! Cut runtime in half for computing a large group-level mean-deviation transformation.

09 Sep 2015 1.1

Linked to GitHub repository.

Contact us