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: 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 ]
Nasser Abbasi

Posts: 5,660
Registered: 2/7/05
Re: Matrix Applications
Posted: Dec 4, 2012 10:24 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On 12/4/2012 9:08 AM, Venkatesh Swargam wrote:
> 2455531.9729 11.35 9 126.12 21.44 13.44 84.05 40.48
> 2455531.9732 11.35833 9 125.9 21.55 13.48 84.04 40.17
> 2455531.9729 11.35 14 207.22 12.85 8.84 74.13 64.482
> 2455531.9732 11.35833 14 207.25 13.05 8.92 74.16 63.87
> 2455531.9729 11.35 15 47.45 50.54 19.04 80.43 13.13
> 2455531.9732 11.35833 15 47.23 50.35 19.06 80.44 13.08
> This is my data. Now here i would like to select the 3rd column and as an input
>enter the any of the number of those (9,9,14,14,15,15) . After that i would like
>to select all the corresponding row datas present in here.
> ex:
> enter the PRN number:9
>
> the data must be loaded in a another file like this
> 2455531.9729 11.35 126.12 21.44 13.44 84.05 40.48
> 2455531.9732 11.35833 125.9 21.55 13.48 84.04 40.17
>
> PLease help me in writing the code...........
> i tried rowindex,and some a(a(:,3)=9)??? none of this worked.
>
>
> Thanking you .....
>




A(A(:,3)==9,:)





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

[Privacy Policy] [Terms of Use]

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