BME 251 HW 7

BME 251 HW 7 - >> ecg_fft=fft(ecg_all...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
>> time05=ecg_all(1:1:5001); >> plot(time05) 0 500 1000 1500 2000 2500 3000 -0.4 -0.2 0 0.2 0.4 0.6 0.8 1 1.2 1.4 X: 1321 Y: 0.2883 msec Volts FIG URE 1 >> time20=ecg_all(1:1:20000); >> plot(time20) 0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2 x 10 4 -1 -0.5 0 0.5 1 1.5 2 2.5 3 3.5 msec FIGURE 2
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
>> plot(ecg_all) 0 0.5 1 1.5 2 2.5 3 x 10 5 -1 -0.5 0 0.5 1 1.5 2 2.5 3 3.5 X: 3.031e+004 Y: 2.92 msec Volts FIGURE 3 >> Fs=1000;
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: >> ecg_fft=fft(ecg_all, 262144)/length(ecg_all); >> frequency = 1000/2*linspace(0,1,256552/2); >> plot(frequency, abs(ecg_fft(1:128276))); 10 20 30 40 50 60 0.02 0.04 0.06 0.08 0.1 0.12 0.14 0.16 Frequency (Hz) Signal Fourier Transform FIGURE 4...
View Full Document

This note was uploaded on 02/08/2012 for the course EECE 213 taught by Professor Mendenhall during the Spring '11 term at Vanderbilt.

Page1 / 2

BME 251 HW 7 - >> ecg_fft=fft(ecg_all...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online