diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /830/CH2/EX2.1.7/step.sce | |
download | Scilab-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/CH2/EX2.1.7/step.sce')
-rwxr-xr-x | 830/CH2/EX2.1.7/step.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/830/CH2/EX2.1.7/step.sce b/830/CH2/EX2.1.7/step.sce new file mode 100755 index 000000000..e3426b8df --- /dev/null +++ b/830/CH2/EX2.1.7/step.sce @@ -0,0 +1,14 @@ +//Graphical//
+//Implementation of Equation 2.1.7 in Chapter 2
+//Digital Signal Processing by Proakis, Third Edition, PHI
+//Page 45
+
+clear; clc; close;
+L = 4; //Upperlimit
+n = -L:L;
+x = [zeros(1,L),ones(1,L+1)];
+a=gca();
+a.thickness = 2;
+a.y_location = "middle";
+plot2d3('gnn',n,x)
+xtitle('Graphical Representation of Unit Step Signal','n','x[n]');
|