summaryrefslogtreecommitdiff
path: root/162/CH1/EX1.6/example16.sce
diff options
context:
space:
mode:
Diffstat (limited to '162/CH1/EX1.6/example16.sce')
-rwxr-xr-x162/CH1/EX1.6/example16.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/162/CH1/EX1.6/example16.sce b/162/CH1/EX1.6/example16.sce
new file mode 100755
index 000000000..628ab4e69
--- /dev/null
+++ b/162/CH1/EX1.6/example16.sce
@@ -0,0 +1,12 @@
+//Example 1.6
+clc;
+n1=-4:-1;
+for i=1:length(n1)
+ x(i)=1+(n1(i)/4);
+end
+for j=5:9
+ x(j)=1;
+end
+n=-4:4;
+plot2d3(n,x);
+xtitle('x[n]'); \ No newline at end of file