Question: 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.
 Given the head start from the recitation or lecture (also recorded),

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!