Help with data extraction script

조회 수: 1 (최근 30일)
sangam singh
sangam singh 2015년 12월 1일
댓글: Walter Roberson 2015년 12월 2일
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.

답변 (1개)

Udit Gupta
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
sangam singh
sangam singh 2015년 12월 1일
I have already tried that option. My question is about something entirely different. It is not about just importing data. Moreover if you may have looked at the attachment the data is already in a .m file
Walter Roberson
Walter Roberson 2015년 12월 2일
There is no attached file as yet.

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

카테고리

Help CenterFile Exchange에서 Graphics Object Identification에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by