MATLAB: What’s the problem

code

a = [1 2 3; 4 5 6; 7 8 9] * [0 1 0];

Best Answer

It works fine, IF you use a valid character for '
a = [1 2 3; 4 5 6; 7 8 9] * [0 1 0]'
a =
2
5
8
The character you used for transpose was:
+'’'
ans =
8217
But the valid transpose operator has ascii code:
+''''
ans =
39