I made a script which produces a variable k, which holds results in a 9x5 matrix. All these results are complex numbers. I wanted to display the table the best way I could etc. with row and column headers. The column headers are supposed to be variables such as x+y, x*z, x/y etc.
I tried to use
array2table()
but the function does not accept headers such as x+y, xz because signs such as "+"and "" are not accepted.
Then I tried to use
printmat()
which does accept the signs but only prints out the real values.. it does not work with complex numbers, it's really getting annoying now
Is there any other way to display a matrix of complex numbers, with row header and columns, etc? Or can I still change printmat to include the imaginary numbers?