diff options
Diffstat (limited to '40/CH5/EX5.4')
-rwxr-xr-x | 40/CH5/EX5.4/Exa_5_4.sce | 20 | ||||
-rwxr-xr-x | 40/CH5/EX5.4/Exa_5_4_0.jpg | bin | 0 -> 13965 bytes | |||
-rwxr-xr-x | 40/CH5/EX5.4/Exa_5_4_1.jpg | bin | 0 -> 12864 bytes |
3 files changed, 20 insertions, 0 deletions
diff --git a/40/CH5/EX5.4/Exa_5_4.sce b/40/CH5/EX5.4/Exa_5_4.sce new file mode 100755 index 000000000..c04a7543a --- /dev/null +++ b/40/CH5/EX5.4/Exa_5_4.sce @@ -0,0 +1,20 @@ +//DTfT of periodic signals
+x=[3 2 1 2];//one period of signal
+n=0:3;
+k=0:3;
+x1=x*exp(%i*n'*2*k*%pi/4)
+dtftx=abs(x1)
+x=[3 2 1 2 3 2 1 2 3];
+n=-4:4;
+a=gca();
+a.y_location="origin";
+a.x_location="origin";
+plot2d3('gnn',n,x);
+xtitle('discrete periodic time signal');
+x2=[dtftx dtftx 8];
+a=gca();
+xset('window',1);
+a.x_location="origin";
+a.y_location="origin";
+plot2d3('gnn',n,x2);
+xtitle('DTFT of discrete periodic signal');
\ No newline at end of file diff --git a/40/CH5/EX5.4/Exa_5_4_0.jpg b/40/CH5/EX5.4/Exa_5_4_0.jpg Binary files differnew file mode 100755 index 000000000..efd03636f --- /dev/null +++ b/40/CH5/EX5.4/Exa_5_4_0.jpg diff --git a/40/CH5/EX5.4/Exa_5_4_1.jpg b/40/CH5/EX5.4/Exa_5_4_1.jpg Binary files differnew file mode 100755 index 000000000..f2557d814 --- /dev/null +++ b/40/CH5/EX5.4/Exa_5_4_1.jpg |