trimdata matlab_compat · scripts/matlab_compat/wave5/trimdata.m TRIMDATA Trim array toward size M (MATLAB elmat shape — local impl).