Extract every 2,6,10 and 3,7,11 line irrespective of data type from text file using matlab
1 view (last 30 days)
Show older comments
Hi Friends,
It has been hours since I am trying to find out the solution of above problem . Unlike other file I could extract entire depending upon a particular string present in the data which is almost 40000 rows . But here file is different.
Time(sec) 20.30
Type 1
Svid slew power used
12. 0.33 -36dbm y
10 .38. -40dbm N
08. 0.40 -30dbm Y
Time(sec) 20.40
Type 2
Svid slew power used
12. 0.46. -38dbm Y
06. 0.50. -32dbm Y
02. 0.42. -30dbm N
Now I want to pull out all Type
1 svid 12 rows
from entire file. these svid is repeated after particular index so as other svid. I want to extract any of this sv Id. Any type of suggestions is highly appreciated.
Thanks
Poka
3 Comments
Walter Roberson
on 2 Aug 2017
I think it means all of the rows in an Svid section where the first column is "12.", and the number on the Type line for the section was 1.
Stephen23
on 3 Aug 2017
See also the following question (explained better and with answers):
Answers (0)
See Also
Categories
Find more on Graphics Performance in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!