Added function to convert to Matlab expression.