Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Given the head start from the recitation or lecture ( also recorded ) , calculate the first 1 5 Fourier Coefficients ( + the DC

Given the head start from the recitation or lecture (also recorded), calculate the first 15 Fourier Coefficients (+ the DC coefficient) for the attached data file and print them rounded to 3 places and labeled to the console.. This data file is a cssv file and represents a single pulse (heart beat) for the arterial blood volume signal. The time axis is in seconds and the signal is normalized to 1(arbitrary units). The time values are evenly spaced in time.
Fourier Series Background and Formulas
Recall from prior courses the following equations to formulate a Fourier series. Any periodic function, f(t) of period T, can be represented by an infinite number of sinusoidal functions as equation (1) below where N=. The signal can be approximated by a finite number of sinusoids where N is finite. In general, the faster the signal varies with time, then a larger N is needed to approximate the function with a given fidelity or accuracy.
f(t)=a0+n=1Nancos(nt)+bnsin(nt)
=2f=2T(Eq.2)
Each of the Fourier Coefficients, an and bn, give the amplitude of the sins and cosines at the radian frequency of n that will reconstruct the original signal. Note that n are harmonics of the base signal's frequency . Also note that a0 is the zero frequency, or D.C. component which is also the average value of the signal.
a0=1T0Tf(t)dt
an=2T0Tf(t)cos(nt)dt
bn=2T0Tf(t)sin(nt)dt
ppg norm.csv darr
Plot the original function and the reconstructed function on the same time axis, with a legend. Properly label the axes.
Submit a screen shot showing the console output and the graph. Submit your python code.
Please exercise good coding practices. For example, proper and descriptive variable names, input variables at top of program, concise and descriptive comments.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Joe Celkos Data And Databases Concepts In Practice

Authors: Joe Celko

1st Edition

1558604324, 978-1558604322

More Books

Students also viewed these Databases questions

Question

Determine the infinite limit. lim In(x? 9) x-3+

Answered: 1 week ago