File Exchange

image thumbnail

aggregate

version 1.1 (9.77 KB) by

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

4 Downloads

Updated

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

Comments and Ratings (2)

Jeff

Jeff (view profile)

Very nice, thanks

John

John (view profile)

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

Updates

1.1

Linked to GitHub repository.

MATLAB Release
MATLAB 8.1 (R2013a)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video