18BEE052 Simulation 2

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

NAME: MALHAR TRIVEDI

ROLL NO: 18BEE052

SIMULATION – 2

AIM:- To interpret and plot discrete time signals in MATLAB.

1. Write a function for adding two signals and implement it using sample sequence of your
choice.

MATLAB Code:

MATLAB Result:

1
NAME: MALHAR TRIVEDI
ROLL NO: 18BEE052

2. Write a function signal multiplication and implement it using sample sequence of your
choice.

MATLAB Code:

MATLAB Result:

2
NAME: MALHAR TRIVEDI
ROLL NO: 18BEE052

3. Write function for shifting a signal and implement it using sample sequence of your
choice.

MATLAB Code:

MATLAB Result:

3
NAME: MALHAR TRIVEDI
ROLL NO: 18BEE052

4. Write a function for folding of a sequence and implement it using sample sequence of
your choice.

MATLAB Code:

MATLAB Result:

CONCLUSION:-
We have successfully interpreted and plotted the graphs in MATLAB for discrete time signal
properties.

You might also like