Help with data extraction script
1 回表示 (過去 30 日間)
古いコメントを表示
Hello,
I have set of data where I have multiple EMG readings column wise. The EMG readings are for specific hand movements. In the data the
- "Restimulus" means the exercise number.
- "Rerepetition" mean the repetition of the same exercise
Note - Each exercise is repeated 10 times where 0 denotes that the hand is at rest.
What I need to do is to write a code to extract the data into a new table where "EMG", "Restimulus", and "Rerepetition" are in the same table. I also want to remove the rows where "Rerepetition" and "Restimulus" both are 0.
How should I write the code for it ? I am attaching the file which has these variables.
0 件のコメント
回答 (1 件)
Udit Gupta
2015 年 12 月 1 日
Try using the readtable function. This imports tabular data into matlab.
Alternatively you can use the "Import Data" button on the Home tab of Matlab toolbars and import the data interactively.
2 件のコメント
参考
カテゴリ
Help Center および File Exchange で Get Started with MATLAB についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!