Azzera filtri
Azzera filtri

Extract every 2,6,10 and 3,7,11 line irrespective of data type from text file using matlab

1 visualizzazione (ultimi 30 giorni)
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 Commenti
Walter Roberson
Walter Roberson il 2 Ago 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.

Accedi per commentare.

Risposte (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by