I was having some strange errors, and eventually figured out that this was going on. Take a simple example.
a = cell(1, 2)a{1} = 'wx'a{2} = 'yz'
Now, let's transpose.
EDU>> aT = a'aT = [2x1 char] [2x1 char]EDU>> size(aT)ans = 1 2EDU>> size(a)ans = 1 2EDU>> aT{1}ans =wx
Isn't this weird? Did I change some setting or something that is messing this up?
Best Answer