diff options
Diffstat (limited to '162/CH1/EX1.4')
-rwxr-xr-x | 162/CH1/EX1.4/example14.jpg | bin | 0 -> 11839 bytes | |||
-rwxr-xr-x | 162/CH1/EX1.4/example14.sce | 23 | ||||
-rwxr-xr-x | 162/CH1/EX1.4/example14_a.jpg | bin | 0 -> 23667 bytes |
3 files changed, 23 insertions, 0 deletions
diff --git a/162/CH1/EX1.4/example14.jpg b/162/CH1/EX1.4/example14.jpg Binary files differnew file mode 100755 index 000000000..e412c159e --- /dev/null +++ b/162/CH1/EX1.4/example14.jpg diff --git a/162/CH1/EX1.4/example14.sce b/162/CH1/EX1.4/example14.sce new file mode 100755 index 000000000..0ec75bb5d --- /dev/null +++ b/162/CH1/EX1.4/example14.sce @@ -0,0 +1,23 @@ +//Example 1.4
+//Time Shifting And Scaling
+clc;
+n=-2:8;
+x=[0,0,0,1,2,3,4,4,0,0,0];
+n1=n+3;
+subplot(2,2,1);
+plot2d3(n1,x);
+xtitle('x[n-3]');
+subplot(2,2,2);
+plot2d3(ceil(n/3),x);
+xtitle('x[3n]');
+subplot(2,2,3);
+n2=-8:2;
+plot2d3(n2,x($:-1:1));
+xtitle('x[-n]');
+subplot(2,2,4)
+n3=n2+3;
+plot2d3(n3,x($:-1:1));
+xtitle('x[-n+3]');
+figure
+plot2d3(n,x);
+xtitle('x[n]');
\ No newline at end of file diff --git a/162/CH1/EX1.4/example14_a.jpg b/162/CH1/EX1.4/example14_a.jpg Binary files differnew file mode 100755 index 000000000..a7e6c7ea0 --- /dev/null +++ b/162/CH1/EX1.4/example14_a.jpg |