How to seperate electromiography waves from one whole .txt file to seperate collums.

1 view (last 30 days)
Hellow, I got one .txt file with 112 electomiography wave data and pause intervals. But i got data in one big text file as one collum. Is it posible to transfer every single wave to separate collum (1,2,3,4,-112) and discard rest periods (pause) using matlab? Or should i manualy cut/paste every single wave to excel sheet and then import to matlab?
(the wave lenght is 5s. and rest perionds are 18s. and 1000hz / 1s. registering rate)
I think i could be something like:
Sheet1(1)=data(1:5000); Sheet1(2)=data(23000:28000); Sheet1(3)=data(46000:51000);
But i still dont know actual code. Can you help?

Answers (0)

Categories

Find more on Data Type Conversion 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!