title: Matlab best practice for choosing and using splitapply, rowfun, and varfun?
body: <p>Matlab seems to have a number of different code patterns for realizing SQL's GOUPBY aggregation of data.  To me it seems that this makes it hard for best practice and code idioms to coalesce.  Are there guidelines for which are best for which situations?</p>