summaryrefslogtreecommitdiff
path: root/2303/CH4/EX4.9/4_9.sce
blob: e4fae612eaa6fe0c537bbee5413688206182348e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//Example 4.9
//MAXIMA SCILAB TOOLBOX REQUIRED FOR THIS PROGRAM

clear;
clc ;
close ;

syms a n Z;
x1=a^n;    //for all n>=0
X1=Z/(Z-a);   //ROC is mod(Z)>a
x2=x1(n-2);

//Time shifting property
X2=[Z^(-2)]*X1;             

//Display the result in command window
disp (X2,"Z-transform of x(n-2) is:");