MATLAB: Conjugate of an Array Consisting of Symbolic Scalars

symbolicsymbolic maths

Let's assume that there is an array 8×1 array of symbolic scalars, which can be defined using
h = sym('h',[8 1]);
When I take its conjugate using the command
disp(h')
The output MATLAB shows is
[ conj(h1), conj(h2), conj(h3), conj(h4), conj(h5), conj(h6), conj(h7), conj(h8)]
Since I know that all the entries in the symbolic array are scalars, and therefore, conj(h1) should be equal to h1. How can I ensure this assumption in MATLAB?
Thank you.

Best Answer

h = sym('h',[8 1]);
assume(h,'real');
disp(h')