0% found this document useful (0 votes)
11 views6 pages

Lab3 Matlab Report

The lab report details exercises performed in a signal processing lab at Amrita Vishwa Vidyapeetham, focusing on signal manipulation using MATLAB. Key operations include amplitude scaling, addition of signals, time shifting, and time scaling, with observations on how these affect waveforms. The report also discusses summing sinusoids and odd harmonics, illustrating the evolution of waveforms as more sinusoidal components are added using subplots for visualization.

Uploaded by

manjarimohanraj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views6 pages

Lab3 Matlab Report

The lab report details exercises performed in a signal processing lab at Amrita Vishwa Vidyapeetham, focusing on signal manipulation using MATLAB. Key operations include amplitude scaling, addition of signals, time shifting, and time scaling, with observations on how these affect waveforms. The report also discusses summing sinusoids and odd harmonics, illustrating the evolution of waveforms as more sinusoidal components are added using subplots for visualization.

Uploaded by

manjarimohanraj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

Amrita Vishwa Vidyapeetham, Amritapuri

Signal processing lab report 3


Name: Manjari M Rollno: AM.EN.U4ECE24033
Class: ECE-A Date: 05-03-2025

LAB EXERCISE:
1. Consider the signal x[n] or x(t). Define functions to perform
a) Amplitude scaling
b) Addition of signals
c) Shifting in time
d) Time Scaling
e) Shifting and scaling together
Inference:
By doing this, I learnt how to define and manipulate piecewise
functions in MATLAB, using loops and conditional statements. I also
understood amplitude scaling, where multiplying a function by a
scalar affects its vertical stretch. Here the assigned amplitude scaling
factor is 2, we find that the amplitude has been doubled, we also
note that the change is visible through the y-axis. Similarly addition
of signals with the common time range, implementation of time
shifting and time scaling to vary the position of the graph and to
change the time range of the graph respectively.

2. Note down your observations when you perform the following


operations with N=1, 2, 10, 20. Use subplot to show your results.
a) sum of sinusoids
Inference:
I learned how to sum multiple sinusoids with varying frequencies and
amplitudes. The outer loop iterates through different values of N,
where each N determines the number of sinusoidal components in
the sum. As N increases, the sum of sinusoids approximates a more
complex waveform. The subplot function helps visualize how the
waveform evolves as more sinusoidal components are added.
b) the sum of odd harmonics of sine wave given by
Inference:
This code generates and plots a sum of multiple sinusoidal signals
with different frequency components. The number of sinusoids
included varies based on N_values (1, 2, 10, 20), showing how adding
more terms affects the resulting waveform. The subplot function is
used to compare different cases, demonstrating how the shape of
the signal evolves as more sinusoids are summed.

You might also like