Basic MATLAB utility