summaryrefslogtreecommitdiff
path: root/22/CH5/EX5.1
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /22/CH5/EX5.1
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 '22/CH5/EX5.1')
-rwxr-xr-x22/CH5/EX5.1/ch5ex1.jpgbin0 -> 17453 bytes
-rwxr-xr-x22/CH5/EX5.1/ch5ex1.sce10
2 files changed, 10 insertions, 0 deletions
diff --git a/22/CH5/EX5.1/ch5ex1.jpg b/22/CH5/EX5.1/ch5ex1.jpg
new file mode 100755
index 000000000..483e7bdd1
--- /dev/null
+++ b/22/CH5/EX5.1/ch5ex1.jpg
Binary files differ
diff --git a/22/CH5/EX5.1/ch5ex1.sce b/22/CH5/EX5.1/ch5ex1.sce
new file mode 100755
index 000000000..ca9d2c11d
--- /dev/null
+++ b/22/CH5/EX5.1/ch5ex1.sce
@@ -0,0 +1,10 @@
+//signals and systems
+// Ztransform of x[n] = (a)^n.u[n]
+syms n z;
+a = 0.5;
+x =(a)^n;
+n1=0:10;
+plot2d3(n1,a^n1); xtitle('a^n','n');
+plot(n1,a^n1,'r.')
+X = symsum(x*(z^(-n)),n,0,%inf)
+disp(X,"ans=") \ No newline at end of file