How to quantify and to dequantify this EMG signal transformed in 2D.
Show older comments
clear all
close all
clc
nbre_elements_lu=2000;
% offset=5;
% gain=2000;
%appel du fichier dans son repertoire d’attache au sein du disque de l’ordinateur
fidq = fopen('c:\kheir1.dat','r');
% lecture du fichier
Aq = fread(fidq, [nbre_elements_lu],'short');
tic
% Aq = fread(fidq, [nbre_elements_lu],'short');
% [valeur,compteur]=fread(fidq,'ushort');
for m = 705:2:nbre_elements_lu
A11q((m+1-704)/2) = Aq(m);
% A22q((m+1-704)/2) = Aq(m+1);
end
status = fclose(fidq);
figure(1)
plot(A11q);hold on
title('sigal 1D: voie 1');
m=1;
for i=1:18
for j=1:16
b(i,j) = A11q(m);
m=m+1;
end
end
b;
b=im2double(b);
1 Comment
Wayne King
on 5 Dec 2013
Can you attach the data?
Answers (0)
Categories
Find more on Discrete Fourier and Cosine Transforms in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!