ADC Lab 1
ADC Lab 1
= 14 e 4 sinc( nπ )
− jn
Dn
Versus frequency (rad/sec), we’ll write the following code into the script file of
MATLAB:
Figure 1. MATLAB code to plot Magnitude and Phase of Fourier series Coefficients
This will plot the combined plots of the Magnitude and Phase of the first 21 coefficients
of Fourier series.
For a periodic signal, the time period is:
2π
T=
ω0
So, the time period of its corresponding time domain signal is:
2π
T = =8
π
4
Figure 2. Plot for Magnitude and Phase Spectrum of Fourier Series Coefficients
The magnitude spectrum shows how various frequencies combine to form the overall
signal, helping us identify the most prominent ones. On the other hand, the phase
spectrum reveals the timing of these frequency components, which is crucial for
accurately reconstructing the signal.
2. Secondly, we’ve to plot an approximation to its time domain signal D(t) for the above
twenty-one terms of Fourier series exponentials of Dn using
𝐷(𝑡) =
n=10
∑ Dn e jn ω t
0
n=−10
Figure 3. MATLAB code to plot approximation for its corresponding signal in time domain
𝑡 = [0: 0.01: 8]
For the following plot, we selected time as
Conclusion
In this experiment, we calculated and plotted the exponential Fourier series coefficients,
highlighting both the magnitude and phase spectra. The results reveal the signal's harmonic
structure, with the magnitude spectrum displaying how much each frequency contributes and
the phase spectrum showing the phase shifts of those frequencies.
Rubrics for Experiment No.
Marks: 0-
0.5
R2: Report All relevant All the relevant Most of the relevant
completene calculations, calculations, graphs, results,
ss specifications, specifications, calculations,
code, graphs, and code, graphs specifications, and
Marks: 0-
results are and results are code are missing, as
0.5
provided with provided but well as their proper
proper with little explanation and
explanation. explanation and justification is
justification. missing