Drexel dragonThe Math ForumDonate to the Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: How to create a single dimensioned empty cell?
Replies: 3   Last Post: Apr 23, 2013 10:06 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Greg Heath

Posts: 6,263
Registered: 12/7/04
Re: How to create a single dimensioned empty cell?
Posted: Apr 23, 2013 4:24 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <kl59ju$eng$1@newscl01ah.mathworks.com>...
> "Greg Heath" <heath@alumni.brown.edu> wrote in message <kl4ubu$fu1$1@newscl01ah.mathworks.com>...
> > As a result of internal calculations in a NNTBX function, queerly dimensioned empty cells are created. How can I create such a cell with command line code? For example:
> >

> > >> whos Xc Xci Ai
> > Name Size Bytes Class Attributes
> > Xc 0x98 0 cell
> > Xci 0x0 0 cell
> > Ai 2x0 0 cell
> >

> > >>Xc
> > Xc = Empty cell array: 0-by-98
> Simply
> cell(0,98)
> Or do I not understand what is asking here?


I just stumbled upon the answer myself using

help cell

Thanks anyway.


Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2015. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.