MATLAB: A problem with transpose of a symbolic matrix

MATLABmatrixsymbolicSymbolic Math Toolbox

Hi,
I don't understand the reason why if I have a matrix of symbolic like
Y =
[ 0, k]
[ 0, 0]
[ 0, 0]
If I try
Y'
it returns
ans =
[ 0, 0, 0]
[ conj(k), 0, 0]
How can I transpose as
Y' = [0 0 0; k 0 0] ?

Best Answer

y' is not the transpose of y. y' is the conjugate transpose of y. If you want the plain transpose, use that appropriate operator, .'
y.'