diff options
Diffstat (limited to '2279/CH1/EX1.10')
-rw-r--r-- | 2279/CH1/EX1.10/Ex1_10.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/2279/CH1/EX1.10/Ex1_10.sce b/2279/CH1/EX1.10/Ex1_10.sce new file mode 100644 index 000000000..e9a16362a --- /dev/null +++ b/2279/CH1/EX1.10/Ex1_10.sce @@ -0,0 +1,16 @@ +clear
+clf
+clc
+n=-20:1:20;
+for i=1:length(n)
+ x(i)=0.5;
+end
+subplot(2,1,1)
+plot(n,x,".");
+xtitle("x(n)=0.5 for all n","number of samples","amplitude");
+xgrid(5)
+y=0.5*x;
+subplot(2,1,2)
+plot(n,y,".");
+xtitle("y(n)=0.5*x(n) for all n","number of samples","amplitude");
+xgrid(5)
|