% DSP 2008 Sample Data Reader

% Put your correct file path here
load 'C:\Documents and Settings\User\Desktop\Class\DSP\Learndata1.mat'
% check Workspace on Matlab to see that a new variable named Learndata1 of
% size 256x1080 is now available. This array has 256 signals - 64 signals 
% from each of the following 4 types: normal, VCouplet, VTachy,VBigeminy. 
figure(1)
subplot(2,2,1)
plot(Learndata1(1,:))           % example normal signal
subplot(2,2,2)  
plot(Learndata1(65,:))          % example VCouplet signal
subplot(2,2,3)
plot(Learndata1(129,:))         % example VTachy signal
subplot(2,2,4)      
plot(Learndata1(197,:))         % example VBigeminy signal

% Put your correct file path here
load 'C:\Documents and Settings\YASSER.YMK\Desktop\Class\DSP\Learndata2.mat'
figure(2)
plot(Learndata2(1,:))           % ventricular fibrillation sample 


