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: Matrix Applications
Replies: 4   Last Post: Dec 7, 2012 9:27 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Venkatesh Swargam

Posts: 5
Registered: 12/4/12
Re: Matrix Applications
Posted: Dec 7, 2012 9:27 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Thank you Nasser, i was using it with out the colonA(A(:,3)==PRN,);.. thank you got my expected results

"Nasser M. Abbasi" wrote in message <k9nd35$5hv$>...
> On 12/4/2012 9:47 PM, Venkatesh Swargam wrote:
> >
> >> A(A(:,3)==9,:)
> >>

> >
> > A(A(:,3)== PRN);
> > i would like to give the value at runtime..
> >

> In that case it should
> A(A(:,3)==PRN,:)
> ie. just replace the '9' with 'PRN'
> --Nasser

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.