How to generate an EMG signal

58 views (last 30 days)
John Smith
John Smith on 16 Oct 2015
Commented: Susan on 25 Jul 2023
How can I generate a raw EMG on MATLAB so I can perform amplification, filtering, FFT etc. on it? I did find libraries, but they open on a separate window. I cannot find a way that I can test my code on the generated EMG signal.
Any help would be highly appreciated.

Accepted Answer

Star Strider
Star Strider on 16 Oct 2015
The Physionet EMG signals can be downloaded as .mat, .txt, or other format files that you can read into your workspace. You just have to search Physionet for the appropriate file options.
I just downloaded the attached file. To load and plot it, save it to a directory on your MATLAB path, then run this:
emg = load('emg_healthy.txt');
figure(1)
plot(emg(:,1), emg(:,2))
grid
  3 Comments
karla velez
karla velez on 25 Oct 2020
Son los nombres de los ejes
Susan
Susan on 25 Jul 2023
The first column refers to time in seconds and the second is microvolts.

Sign in to comment.

More Answers (1)

Julio Restrepo Zapata
Julio Restrepo Zapata on 3 Oct 2019
Esto no responde tu pregunta, pero puede serte util:

Categories

Find more on Biomedical Signal Processing 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!