From: Shn anl on 18 Sep 2009 06:15 Hi is it possible to declare an array with different length columns. I have a list of names each with a different time-stamp and i need to separate them by hour. I can do this using a for loop and if statement but i end up with columns being padded with zeros to make them all the same length. I need them to just end when there are no more names for that column If anyone has any suggestions i would appreciate them Thanks
From: Luca Zanotti Fragonara on 18 Sep 2009 06:30 "Shn anl" <s.lowe4(a)gmail.com> wrote in message <h8vmjb$t5m$1(a)fred.mathworks.com>... > Hi is it possible to declare an array with different length columns. I have a list of names each with a different time-stamp and i need to separate them by hour. I can do this using a for loop and if statement but i end up with columns being padded with zeros to make them all the same length. I need them to just end when there are no more names for that column > > If anyone has any suggestions i would appreciate them > > Thanks You can use a cell array to do stuff like that. Type in the help "cell".
From: Shn anl on 18 Sep 2009 07:19 > You can use a cell array to do stuff like that. Type in the help "cell". Thanks for your reply. But i can only see how to set up an array with fixed length columns in the help using cell?
|
Pages: 1 Prev: Cluster Purity and Cluster Entropy Next: Signal Builder append signal |