summaryrefslogtreecommitdiff
path: root/830/CH3/EX3.2.4/Unit_Step_Sequence.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /830/CH3/EX3.2.4/Unit_Step_Sequence.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '830/CH3/EX3.2.4/Unit_Step_Sequence.sce')
-rwxr-xr-x830/CH3/EX3.2.4/Unit_Step_Sequence.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/830/CH3/EX3.2.4/Unit_Step_Sequence.sce b/830/CH3/EX3.2.4/Unit_Step_Sequence.sce
new file mode 100755
index 000000000..6533fe156
--- /dev/null
+++ b/830/CH3/EX3.2.4/Unit_Step_Sequence.sce
@@ -0,0 +1,10 @@
+//Graphical//
+//Example 3.2.4
+//Z transform of x[n] = u[n]
+clear;
+clc;
+close;
+syms n z;
+x=(1)^n
+X=symsum(x*(z^(-n)),n,0,%inf)
+disp(X,"ans=")