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

조회 수: 1 (최근 30일)
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
Walter Roberson
Walter Roberson 2017년 8월 2일
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.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Standard File Formats에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by