The Math Forum

Search All of the Math Forum:

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

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

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: grouping iterates
Replies: 1   Last Post: Mar 26, 2013 8:57 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View  

Posts: 9,850
Registered: 6/7/07
Re: grouping iterates
Posted: Mar 26, 2013 8:57 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On 3/26/2013 2:35 AM, Priyata wrote:
> I want to group the iterates into two sets. How can I do that?
> For example: I have repeated the iteration 100 times so there are 100
> iterates between 0 and 2 and I want to group these iterates into two
> sets suppose I = (0,1) and II = (1,2).
> Thanks.

ix=(X<=1); % inclusive; salt to suit...
I=X(ix); II=X(~ix);


doc hist % and friends...


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

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.