Fixed string conversion in Matlab