Transpose of matrix

Dear all
About the following example.
After I get [ux, uy], I want to get [ux, uy] * [ux, uy] '.
So I entered the following code, but it didn’t seem to work.

sens = [ux,uy]*[ux,uy]';

I think you should write
sens = [ux,uy]'*[ux,uy];
since [ux,uy] is a column vector.

thank you.
I did this before, but it didn’t work. It seems that the code after transposing the symbol 'is invalid.