Design a MATLAB based GUI system to generate a customized pulse using Fourier Se
ID: 2083565 • Letter: D
Question
Design a MATLAB based GUI system to generate a customized pulse using Fourier Series.
1. The GUI includes items to help the user to enter the properties of the pulse as:
Duration of the low level, TLOW
Duration of the high level, THIGH
The peak-to-peak magnitude, A
The raising of the signal above the x-axis, V
2. When the user clicks on the GENERATE button, the system displays the coefficients of the Fourier series.
3. Add a plot to display the periodic signal using this Fourier Series, e.g. five cycles as shown.
4. Add a button to filter the Gibbs ripples.
Requirement:
1. Introduction
2. MATLAB code section to generate the Fourier coefficients, properly documented.
3. Four samples of settings showing the Fourier coefficients and plot diagrams
4. Description on your choice of filter with frequency response.
5. Discussion. Including: "practical applications of this design"
Course Content DSP b projecupdf x D rinding coefficients of rour l G Design a MATLAB based Gu g Practical Privacy-Enhancing C chegg stucy I cu ded solut G pulse Generator using rouri ga/bbswertuav/pid-2375929-du- id-3166203 2/courses spring 2017 CMPD478 21072/DSP Lab%20P qu.edu.qa/ Add to the lavorites bar by selecting Arror by getting therm another browser. Inriport your laworites Spring 2017 Depa of Compuler Science & Engineering DSP Project (30%) Pulse Generator using Fourier Series Introduction Design a MATLAB based GUI system to generate a customized pulse using Fourier Series. 1. The GUI includes items to help the user to enter the properties of the pulse as Duration of the low level, T LOW Duration of the high level, T The peak-to-peak magnitude, A The raising of the signal above the x-axis, V 2. When the user clicks on the GENERATE button, the system displays the coefficients of the Fourier series. 3. Add a plot to display the periodic signal using this Fourier Series, e.g. five cycles as shown aExplanation / Answer
clear all clf T0=pi; N0=64; Ts=T0/N0; M=10; t=[0:Ts:Ts*(N0-1)]'; g=exp(-t/2); g(1)=0.604; Dn=1/N0*fft(g) % fft function in matlab calculates fourier coefficients using an algorithm called fft algorithm [Dnangle,Dnmag]=cart2pol(real(Dn),imag(Dn)) % converting cartesian to polar coordinates using inbuilt matlab function cart2pol k=0:length(Dn)-1 subplot(211), stem(k,Dnmag), title('Dnmag') % subplot(xyz), indicates create x times y subplots in a single plot, and position current plot in z location subplot(212), stem(k,Dnangle), title('Dnangle')