You are on page 1of 11

Assessment 5

Name: Tarunika Agarwal


Registration Number: 20BIT0227
Slot: L25+ L26
Faculty: Prof Shobana Devi N

EXPERIMENT 5A
Z-transforms and their applications for solving Difference
equations

AIM
To write a MATLAB code to do Z-transforms and solve their Difference equations.

MATHEMATICAL BACKGROUND

SYNTAX USED:
QUESTION 1:

MATLAB CODE

INPUT/OUTPUT

QUESTION 2:

MATLAB CODE:

INPUT/OUTPUT
QUESTION 3

MATLAB CODE

INPUT/OUTPUT
QUESTION 4:

MATLAB CODE:
INPUT/OUTPUT
EXPERIMENT 5B
Series of Homogeneous Linear Difference equations

AIM
To find Solution of Homogeneous Linear Difference equations using MATLAB.

MATHEMATICAL BACKGROUND
QUESTION 1

CODE
INPUT

OUTPUT

QUESTION 2
CODE

INPUT

OUTPUT
QUESTION 3

CODE

INPUT
Input the coefficients [a, b, c]:
OUTPUT

You might also like