Quantcast
Channel: MATLAB Central Newsreader Recent Posts
Viewing all articles
Browse latest Browse all 19628

Help with modifying cell array display

$
0
0
I have a cell array C with n columns (where n can vary) and

C =

     'Jane Doe' ' '
     'Johnny Doe' 'Johnny Appleseed'
     'Apple Doe' 'Johnny Jane '


I would like MATLAB to print it as

     Jane Doe
     Johnny Doe Johnny Appleseed
     Apple Doe Johnny Jane

I'd appreciate if someone can help me with this.

Gautam.

Viewing all articles
Browse latest Browse all 19628

Trending Articles