You are on page 1of 9

Name: ROSHAN SINGH

Lab Slot: FALL SEM 2021-22, LAB MAT2002 (SLOT L7+L8) Experiment number: 5A_5B

Regd. No.: 20BIT0445 DA: 05

Title: Z-transforms and their applications for solving Difference equations


Experiment 5A

MATLAB Code:

Command window Output:


Graph Output:

Command window Output:

Graph Output:
Command window Output:

Graph Output:

Command window Output:


Graph Output:

Solution:

Function for Fibonacci sequence with Initial Condition

Difference Equation for Fibonacci numbers

Command window output:


Graph output
Experiment 5B
Title: Solution of Homogeneous Linear Difference equations

MATLAB Code:

Command window Output 1a & 1b:


Command window Output 1c & 1d:

Command window Output 1:

Graph Output 1:
Command window Output 2:

Graph Output 2:

Command window Output 3:

Graph Output 3:

You might also like