Page 1 of 1

Please help for codding

Posted: Sat May 14, 2022 6:54 pm
by answerhappygod
Please help for codding
Please Help For Codding 1
Please Help For Codding 1 (24.17 KiB) Viewed 54 times
Please Help For Codding 2
Please Help For Codding 2 (45.35 KiB) Viewed 54 times
Please Help For Codding 3
Please Help For Codding 3 (18.85 KiB) Viewed 54 times
1 0.8 0.6 - 0.4 - 0.2 T OF -0.2 -0.4 1 -0.6 -0.8 T -1 0 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.1

You have to obtain the following results for the above two signals (square and sawtooth signals) (i) Amplitude plot of the Fourier coefficient (use "stem" in MATLAB) (i) Angle plot of the Fourier coefficient (use "stem" in MATLAB) (ii) The plot of the approximated signals via the Fourier series when N = 10 and N = 100 in (1). In this plot, you also have to plot the original signal I, and compare the original signal with the approximated signal obtained from (1) when N = 10 and N = 100. You can use "integral” in MATLAB to compute the Fourier coefficient

Note 1. You CANNOT use any Fourier series functions in MATLAB. You have to implement the continuous- time Fourier series algorithm. 2. Your program must be independent of the input signal. Your algorithm should be applied to any types of periodic signals.