summaryrefslogtreecommitdiff
path: root/62/CH6/EX6.44/ex_6_44.sce
diff options
context:
space:
mode:
Diffstat (limited to '62/CH6/EX6.44/ex_6_44.sce')
-rwxr-xr-x62/CH6/EX6.44/ex_6_44.sce7
1 files changed, 7 insertions, 0 deletions
diff --git a/62/CH6/EX6.44/ex_6_44.sce b/62/CH6/EX6.44/ex_6_44.sce
new file mode 100755
index 000000000..1ebbc0b2c
--- /dev/null
+++ b/62/CH6/EX6.44/ex_6_44.sce
@@ -0,0 +1,7 @@
+close;
+clear;
+clc;
+disp("the system is Hc(s)=1/(s+1)*(s+2)");
+disp("therefore hc(t)=(e^-t-e^-2*t)*u(t) by frequency shifting property")
+disp("therefore hd[n]=hc(t)=(e^(-n*Ts)-e^(-2*n*Ts))*u[n]");
+disp("taking z-transform Hd(z)=1/(1-e^(-n*Ts)*z^-1) - 1/(1-e^(-2*n*Ts)*z^-1");