diff options
Diffstat (limited to '3812/CH6/EX6.19/6_19.sce')
-rw-r--r-- | 3812/CH6/EX6.19/6_19.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/3812/CH6/EX6.19/6_19.sce b/3812/CH6/EX6.19/6_19.sce new file mode 100644 index 000000000..d7dbca228 --- /dev/null +++ b/3812/CH6/EX6.19/6_19.sce @@ -0,0 +1,16 @@ +//Example6.19:
+//Discrete Time Fourier Transform
+clc;
+N = 5;
+Wo = 2*%pi/N;
+W = [-Wo,0,Wo];
+XW =[%pi,0,%pi]; //figure
+a = gca();
+a.y_location ="origin";
+a.x_location ="origin";
+plot2d3('gnn',W,XW,2);
+poly1 = a.children(1).children(1);
+poly1.thickness = 3;
+xlabel('W');
+title('DTFT of cos(nWo)')
+disp(Wo)
|