Question: (3 marks) Write code that reconstructs f(t) from its Fourier series coefficients dk, which you obtain in the above code cell. Use a variable n

(3 marks) Write code that reconstructs f(t) from its Fourier series coefficients dk, which you obtain in the above code cell. Use a variable n to specify the number of terms in the reconstruction to use. Here, n means the reconstruction uses terms from n to n, NOT 0 to n. Using this code, generate a plot with the original function f, and the reconstruction with n equal to 2,5 , and 10 , all with respect to time. Superimpose all curves on the same plot. The axes must be correct and properly labelled in all plots. In particular, the horizontal (time) axis must run from 0 to 1. [ ] \# write your response to the above question here
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
