Matlab Electromyography (EMG) signal

Hi all,
Can anyone help me find an ENG signal sample?
I found the document in the link below where an emg.txt file is mentioned. Does anyone know from where I can find this file or how to replicate an EMG signal?

6 commentaires

Star Strider
Star Strider le 1 Sep 2015
When I clicked on that link, I got:
Not Found
The requested URL /english/teaching/apa6905/lab/MatLab%20Help%20-%20EMG%20Analysis.pdf was not found on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
John Smith
John Smith le 1 Sep 2015
Thanks for the reply. Do you know from where I can find similar EMG signal files please?
Star Strider
Star Strider le 1 Sep 2015
My pleasure.
John Smith
John Smith le 1 Sep 2015
Modifié(e) : John Smith le 1 Sep 2015
Thanks. I managed to find a text file in the link you provided, but I am still having issues loading it to Matlab.
I am using the following commands:
dname='C:\Users\John\Desktop\';
file='emg.txt';
fname=fullfile(dname,file);
y=load(fname);
The following error is showing:
Error using load Number of columns on line 7 of ASCII file C:\Users\Adrian VB\Desktop\emg.txt must be the same as previous lines.
Any suggestions please?
Walter Roberson
Walter Roberson le 1 Sep 2015
The URL was split over two lines when it should not have been. I have edited it. I am able to click it successfully now.
Star Strider
Star Strider le 1 Sep 2015
+1 Walter!
Editing the Question to discover that didn’t occur to me.

Connectez-vous pour commenter.

Réponses (1)

Star Strider
Star Strider le 1 Sep 2015
Post an example of the text file you want to read. One I looked up suggests that:
fidi = fopen( ... , 'rt');
data = textscan(fidi, '%f%f')
will probably work to read it, but without seeing an example of the actual file it’s not possible to write specific code.

Catégories

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by