Question: a) Plot the Fourier series of a function : x=linspace(-4,4); y=2+8/pi*(cos(pi/2*x)-1/3*cos(3*pi/2*x)+1/5*cos(5*pi/2*x)-1/7*cos(7*pi/2*x)); plot(x,y) b) Continue function adding next five terms following the rule ... y=2+8/pi*(cos(pi/2*x)-1/3*cos(3*pi/2*x)+1/5*cos(5*pi/2*x)-1/7*cos(7*pi/2*x)) ...

a) Plot the Fourier series of a function :

x=linspace(-4,4);

y=2+8/pi*(cos(pi/2*x)-1/3*cos(3*pi/2*x)+1/5*cos(5*pi/2*x)-1/7*cos(7*pi/2*x));

plot(x,y)

b) Continue function adding next five terms following the rule ...

y=2+8/pi*(cos(pi/2*x)-1/3*cos(3*pi/2*x)+1/5*cos(5*pi/2*x)-1/7*cos(7*pi/2*x)) ...

and check the result by plotting the function.

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!