You are on page 1of 2

Universidad Manuela Beltrán, Benítez, Ramírez y Villegas. Sensores de Temperatura.

Spectral analysis of the ECG Signal


Benítez Arrieta Angélica María, Ramírez García Ana María y Villegas Fajardo Juliana
angelica.benitez089@gmail.com, anamariar317@gmail.com, julianavllgs@gmail.com
Manuela Beltrán University
Biomedical Engineering
Bogotá D.C Colombia
 design, robotics, and much more [3]. Some of the
Abstract— functions that there are going to use by us are:

For: the “for” function means the additions of the


I. INTRODUCTION sines with different frequencies and amplitudes,
The electrocardiograph is a record of electrical potentials, that this with the purpose of create an ECG signal. So,
is, it can determinate the activity generated by the heart or it is necessary to delimitate how many times the
bioelectrical activity of each of the muscles cells that there are function is going to work and then it can finish.
in the heart, which generates a rhythmic contraction in the heart Fftshift: It shifts the DC (zero frequency
[1]. Likewise people can simulate this ECG signal using an component) to the center of the signal or
addition of sine signals, it could be do in a Matlab software. In image.
this practice it will be determinate an ECG signal with Matlab. Fft: it calculates the discrete Fourier transform
Then it will be implemented Discrete Fourier Transform, it (DFT) of X using a fast Fourier transform
means to know the spectral and width of the signal; with this
algorithm.
we know the frequencies of the signal [2]. Also, the signal could
be affected by no Gaussian noise, it means an addition of a
signal with different frequencies that tend to 0. Xlswrite: it writes the matrix A in the first
Matlab is a software, it is a math environment where can a spreadsheet of the Microsoft Excel spreadsheet
visualization of numeric analysis, matrix calculus, signal book filename from cell A1 [4].
processing and graphics here people can do conditional, created
different kind of things and data processing. To determinate the - Sampling Theorem: It is the conversion of a
signal we did an addition with a “for” of 20 sines everyone with signal in continuous time to a signal in discrete
different frequencies, and amplitude [3]. According with that time. Periodic samples of that continuous signal
the objectives for this practice are: are obtained every T seconds or it shows that the
exact reconstruction of a continuous periodic
- Identify the principal characteristics of Matlab and
how it can helps us with the creation of a simulate signal in baseband from its samples is
ECG signal. mathematically possible if the signal is
- Recognize what is the meaning of Discrete Fourier bandlimited and the sampling rate is more than
Transform and what is the intention of doing this in double its bandwidth [5].
ECG signal.
- Analyze why is important to know the data - Discrete Fourier Transform: is a mathematical
processing in a electrocardiograph and what transformation used to transform signals between
information it has. the time (or spatial) domain and the frequency
domain. In a discrete signal the Fourier transform
can be simplified for the calculation of a discrete
set of complex amplitudes, called coefficients of
II. CONCEPTUAL FRAMEWORK the Fourier series. They represent the frequency
spectrum of the original time-domain signal [2].
- Matlab: is a tool when people can resolve
mathematics problems with different equations.
Also, it is used for machine learning, signal
processing, image processing, computer vision, III. RESULTS AND ANALYSIS
communications, computational finance, control

.
Universidad Manuela Beltrán, Benítez, Ramírez y Villegas. Sensores de Temperatura. 2

IV. QUESTIONS ABOUT THE PRACTICE V. CAUSES OF ERROR

1. Explain what happens when the sampling frequency is


well below the frequency of the signal to be sampled. VI. APLICATION

When the sampling frequency is very low with respect to


the frequency of the signal, it will not be captured and all VII. CONCLUTIONS
the samples can’t be obtained, which means that the bio To summary, in the practice an ECG signal was created
signal can’t be observed and analyzed well. based on addition of sine signals with different
frequencies. It was doing in 5 parts one of each part of
2. Explain what happens when the sampling frequency is ECG signal. Then the discrete Fourier transform was
half the frequency of the signal to be sampled. determinate in order to transform the signal, this used to
transform signals between the time (or spatial) domain
When the sampling frequency is half with respect to the and the frequency domain. Also we know that the main
frequency of the signal, it will not be captured and all the frequency of the noise and original signal transform
samples can’t be obtained, which means that the bio represents the maximum frequency with deferments
signal can’t be observed and analyzed well. amplitudes, to add, the spectral frequency represents the
distribution of the amplitudes for each frequency. After
3. Justify what sampling frequency you would choose the transform the unit are V2/Hz in the “y” axis and Hz in
for an ECG, EEG, EMG, plethysmography, electro- the “x” axis.
oculage, and visual evoked potentials (P300) signal.
VIII. REFERENCES
Taking into account the Nyquist-Shannon Sampling
Theorem which states that:
𝐹𝑆𝑎𝑚𝑝𝑙𝑖𝑛𝑔 = 2 ∗ 𝐹𝑆𝑖𝑔𝑛𝑎𝑙
For each bio signal the sampling frequency would be: [1] P. P. Macfarlane, «What is an electrocardiogram
(ECG)?,» HEART MATTERS, 2010. [En línea].
 ECG: Taking into account that the signal has a Available:
frequency between 0.5 and 3 Hz, in order to https://www.bhf.org.uk/informationsupport/heart-
calculate the sampling frequency, it is necessary matters-magazine/medical/tests/electrocardiogram-ecg.
to take the highest frequency for which this is: [2] L. L. d. A. d. F. Aplicado, «Transformada de Fourier,»
𝐹𝑆𝑎𝑚𝑝𝑙𝑖𝑛𝑔 = 2 ∗ 3𝐻𝑧 2010. [En línea]. Available:
𝐹𝑆𝑎𝑚𝑝𝑙𝑖𝑛𝑔 = 6𝐻𝑧 http://www4.ujaen.es/~jmalmira/transformada_fourier_
 EEG: For this one must take into account that almira.pdf.
this has different types of waves which are: [3] MathWorks, «Descripción de Matlab,» 2018. [En línea].
o Alpha waves with a frequency of 8-13Hz Available:
o Beta waves with a frequency of 14-60Hz https://la.mathworks.com/help/matlab/learn_matlab/pro
duct-description.html.
o Theta waves with a frequency of 4-7 Hz
o Delta waves with a frequency of 0-4 Hz [4] MathWorks, «Scripts y funciones,» 2018. [En línea].
Available:
https://la.mathworks.com/help/matlab/learn_matlab/scri
When taking into account that the highest
pts-and-functions.html.
sampling frequency is taken, it is
[5] D. L. J. M. Mendoza, «Teorema del Muestreo,»
𝐹𝑆𝑎𝑚𝑝𝑙𝑖𝑛𝑔 = 2 ∗ 60𝐻𝑧
Procesamiento Digital de Señales, 2012. [En línea].
𝐹𝑆𝑎𝑚𝑝𝑙𝑖𝑛𝑔 = 120𝐻𝑧 Available:
http://www.dicis.ugto.mx/profesores/ljavier/documentos
 EMG: /lec01%20-%20teorema%20de%20muestreo.pdf.
The frequency of the signal is in the range of 7-
20 Hz where by the sampling signal is:
𝐹𝑆𝑎𝑚𝑝𝑙𝑖𝑛𝑔 = 2 ∗ 20𝐻𝑧
𝐹𝑆𝑎𝑚𝑝𝑙𝑖𝑛𝑔 = 40𝐻𝑧

 Plethysmography:
 Electrooculage:
 Visual Eviked Potentials (P300) signal:

You might also like