Effacer les filtres
Effacer les filtres

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

1 vue (au cours des 30 derniers jours)
POKA
POKA le 2 Août 2017
Commenté : Stephen23 le 3 Août 2017
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 commentaires
Walter Roberson
Walter Roberson le 2 Août 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.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Graphics Performance dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by