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: Logical Cell
Replies: 2   Last Post: Nov 30, 2012 2:55 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Mathew Thomas

Posts: 171
Registered: 6/17/09
Logical Cell
Posted: Nov 29, 2012 12:20 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply


I have a 1 X 5 cell, with logical values:

out{1,1} = [1,0];
out{1,2} = [0,0];
out{1,3} = [0,0,1];
out{4} = 0;
out{5} = [0,1];

How do I get the location of all the ones ?

Something like
(1,1), (3,3), (5,2)


Date Subject Author
Read Logical Cell
Mathew Thomas
Read Re: Logical Cell
Read Re: Logical Cell
Bruno Luong

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.