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 pull last element of an array within a cell array.
Replies: 2   Last Post: Sep 5, 2013 1:16 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Loren Shure

Posts: 1,015
Registered: 12/7/04
Re: How to pull last element of an array within a cell array.
Posted: Sep 5, 2013 1:16 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Chris " <mohdisease@yahoo.com> wrote in message
> I've created a cell array and for my simplest case it as a 1x1 cell array.
> I want to pull the very last value of the array in this cell and am not
> sure how.
> i.e.:
> Ne <1x1 cell>
> the cell is a 129x1 double I want the last value of that 129x1 array
> Also, in the future this cell array will consist of multiple arrays so I'd
> like to know how to pull a specific value, such as the last value above,
> within a particular array of say a 1x10 cell array.
> Thanks!




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

[Privacy Policy] [Terms of Use]

© The Math Forum 1994-2015. All Rights Reserved.