Search All of the Math Forum:

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

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

 Messages: [ Previous | Next ]
 Nasser Abbasi Posts: 6,677 Registered: 2/7/05
Re: Matrix Applications
Posted: Dec 4, 2012 10:24 AM

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
>
> i tried rowindex,and some a(a(:,3)=9)??? none of this worked.
>
>
> Thanking you .....
>

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

Date Subject Author
12/4/12 Venkatesh Swargam
12/4/12 Nasser Abbasi
12/4/12 Venkatesh Swargam
12/5/12 Nasser Abbasi
12/7/12 Venkatesh Swargam