MATLAB Answers

shifting column cell array of string into row

4 views (last 30 days)
I have a cell array of string c = { 'a' ; 'b' ; 'c' ; 'd' ; .......... }
so i have c = 50*1
now i need to shift the cell array into c = 1*50
how can i do it using cell function or some other command??
is it possible??
Thanks a lot

Accepted Answer

Stalin Samuel
Stalin Samuel on 16 Jun 2015
Edited: Stalin Samuel on 16 Jun 2015
c = { 'a' ; 'b' ; 'c' ; 'd' ; .......... };
c=c';

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!