Академический Документы
Профессиональный Документы
Культура Документы
Menggunakan Matlab
Achmad Rizal
Biomedical Signal Processing & Instrumentation RG
(BioSPIN RG)
School of Electrical Engineering, Telkom University
%normalisasi
x=x-mean(x);
x=x/max(abs(x));
freq_s = fft(x);
subplot(1,2,2);
plot(frek,abs(freq_s));
xlim([0 fs/2])
xlabel('Frekuensi (Hz)','fontsize',14);
ylabel('Magnitudo (mV)','fontsize',14);
title('Spektrum Sinyal NSR ','fontsize',14);
Wp = 30/250; Ws = 50/250;
Rp = 3; Rs = 60;
[n,Wp] = cheb1ord(Wp,Ws,Rp,Rs) % Gives minimum order of filter
[b,a] = cheby1(n,Rp,Wp); % Chebyshev Type I filter
freqz(b,a,512,250); % Plots the frequency response
w = 50/(fs/2);
bw = w;
[num,den] = iirnotch (w,bw);
filteringdata = filter (num,den,x); % x = ecg signal
freqz(num, den,512,250);
• Contoh kasus
Ekstraksi
normalisasi klasifikasi
ciri
• Log detector 1 𝑁
𝐿𝑂𝐺 = 𝒆𝑵 𝑛=1 log 𝑥𝑛
𝑀𝐴𝑉 = 𝑥𝑛
𝑁
𝑛=1
Achmad Rizal, BioSPIN Telkom University 2019
Ekstraksi ciri Sinyal ECG
Time domain feature 𝑁
Original Signal
HPF 2 D1
Level 1
A1 D1 x(t )
HPF 2 D2
Level 2 A2 D2
L
LPF 2 A1
Level 3 A3 D3 LPF 2 A2
H 2 DS
H 2
x(t ) L 2 AD
H 2 DA
L 2
L 2 AA