Question
The required matlab files: https://drive.google.com/open?id=1PLXZ5QeKpp3g86Wx_K_kEoKOWG4GjKtk Please complete all parts for thumbs up! Exercise #2 Reconstruction of the half-triangle function using its sinusoidal components resulted from
The required matlab files: https://drive.google.com/open?id=1PLXZ5QeKpp3g86Wx_K_kEoKOWG4GjKtk
Please complete all parts for thumbs up!
Exercise #2 Reconstruction of the half-triangle function using its sinusoidal components resulted from fft decomposition (Refer to Example 3.3/p96 and MATLAB script Ex3_3.m)
The half-triangle function can be reconstructed and represented by combining the sinusoidal components obtained from either Fourier series analysis or MATLAB fft implementation; the similarity between the original function and the reconstructed depends on the number of sinusoidal components being taken into consideration in reconstruction; the more components are used in reconstructing, the higher level of approximation to the original function results.
Assignment #2-1 (10 pts): Run Ex3_3.m and put a snapshot picture of the resulting plots in your lab report. The figure obtained contains two plots, one being the original half-triangle wave and the other being the approximation wave reconstructed with the first 4 sinusoidal components.
Assignment #2-2 (10 pts): What is the DC term (Refer to the description below Eqn. 3.5 on p88) and the DC term for this function? What are the MATLAB codes for generating the approximation wave composed of the first 4 sinusoidal components? Provide a brief explanation about how the approximation wave is reconstructed with these codes.
(Note: Use the magnitudes and phases calculated by the MATLAB fft approach from Exercise #1 for the following assignments)
Assignment #2-3 (10 pts): Start a new section and write a script to plot the original half-triangle wave and its approximation with the first 8 components considered. Put a snapshot picture of the resulting plots in your lab report, along with your script.
Assignment #2-4 (10 pts): Start a new section and write a script to plot the original half-triangle wave and its approximation with the first 20 components considered. Put a snapshot picture of the resulting plots in your lab report, along with your script.
Assignment #2-5 (10 pts): Provide a brief discussion based on the plots obtained from Assignment #2-1, Assignment #2-3, and Assignment #2-4?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started