Question

Problem Consider the following sawtooth wave The corresponding Fourier series is given by f(t)=\frac{1}{2}-\sum_{n=1}^{\infty} \frac{1}{n \pi} \sin (n \pi t) Using Matlab: (i) plot the first two terms of the

above Fourier series, that is, f_{1}(t)=\frac{1}{2}-\frac{1}{\pi} \sin (\pi t) \text { for }-2 \leq t \leq 2 \text { , with an increment of } \Delta t=0.1 (ii) plot the first three terms of the above Fourier series, that is, f_{2}(t)=\frac{1}{2}-\frac{1}{\pi} \sin (\pi t)-\frac{1}{2 \pi} \sin (2 \pi t) \text { for }-2

Question image 1Question image 2Question image 3Question image 4Question image 5Question image 6Question image 7Question image 8Question image 9Question image 10Question image 11Question image 12Question image 13Question image 14Question image 15Question image 16