From: james bejon on 1 Apr 2010 14:03 Dear All, Suppose I have a {1x2} cell array containing a {3x1} and a {4x1} cell, both of which containing strings. Is there a nifty way of listing these contents (as a {7 x 1} cell, that is)? Or perhaps as a {4x2} with an empty cell in the corner?
From: Doug Schwarz on 1 Apr 2010 14:06 james bejon wrote: > Dear All, Suppose I have a {1x2} cell array containing a {3x1} and a > {4x1} cell, both of which containing strings. Is there a nifty way of > listing these contents (as a {7 x 1} cell, that is)? Or perhaps as a > {4x2} with an empty cell in the corner? If your 1x2 cell is called C then cat(1,C{:}) will do it. -- Doug Schwarz dmschwarz&ieee,org Make obvious changes to get real email address.
From: james bejon on 1 Apr 2010 14:27 That's nice. Thanks very much.
|
Pages: 1 Prev: Need code very very Urgently!!!!!! Next: Help with aviobj--hide figure will saving movie |