Can we have a mixed-type matrix in Matlab...and how? <p>I'm trying to write a function with a matrix (specifically a matrix) as the output, the rows of which show a double-type variable and a binary 'status'. For no real reason and just out of curiosity, I wonder if there is a way to have the rows to have different types.</p> <p>Many Thanks</p>