Question: Work it out in mat lab and send me th code please Sprint LTE 5:39 AM 53% My program fourier2b DOCX-18 KB Close % Fourier
Work it out in mat lab and send me th code please Sprint LTE 5:39 AM 53% My program fourier2b DOCX-18 KB Close % Fourier series for f(t) = -1 for t between -pi and 0 % and f(t) 1 for t between 0 and pi t = linspace (-pi,pi,64) % This is the irst line with the results shown below. f = (4/p1)" (sin (t) + sin ( 3 *t ) /3 +sin (5*t)/5 sin (7*t)/7+ sin (9*t)/9) for i = 1:64 k -pi + 2*pi"(i-1)/64 = end for i-1:32 GI) -1; end for i = 33:64 GI) = 1; end plot (t,G) hold on plot (t, f) hold off Email Word CTD Save
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
