Date: Dec 4, 2012 10:08 AM
Author: Venkatesh Swargam
Subject: Matrix Applications

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 .....