snaptogrid matlab_compat · scripts/matlab_compat/wave5/snaptogrid.m SNAPTOGRID Compatibility function snaptogrid