title: Alternative to splitapply in Matlab
body: <p>I am trying to run someone else's Matlab code that uses the <a href="https://www.mathworks.com/help/matlab/ref/splitapply.html" rel="nofollow noreferrer"><code>splitapply</code> function</a>, which is only available in R2018a. I am currently using R2015a; is there a simple (albeit less efficient) alternative implementation which achieves the same purpose that could be used (temporarily)?</p>