Transposing cells
Show older comments
hi, how can I transpose each cell in a cell array?
Accepted Answer
More Answers (1)
Jan
on 19 Jan 2012
Or by a loop:
a{1} = [1 2; 3 4];
a{2} = [5 6; 7 8];
for i = 1:numel(a)
a{i} = transpose(a{i});
end
1 Comment
Syed Abbas
on 19 Jan 2012
Categories
Find more on Matrices and Arrays in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!