diff options
Diffstat (limited to '40/CH6/EX6.6')
-rwxr-xr-x | 40/CH6/EX6.6/Exa_6_6.jpg | bin | 0 -> 17614 bytes | |||
-rwxr-xr-x | 40/CH6/EX6.6/Exa_6_6.sce | 18 |
2 files changed, 18 insertions, 0 deletions
diff --git a/40/CH6/EX6.6/Exa_6_6.jpg b/40/CH6/EX6.6/Exa_6_6.jpg Binary files differnew file mode 100755 index 000000000..ea5dd2a8d --- /dev/null +++ b/40/CH6/EX6.6/Exa_6_6.jpg diff --git a/40/CH6/EX6.6/Exa_6_6.sce b/40/CH6/EX6.6/Exa_6_6.sce new file mode 100755 index 000000000..0a4466ea7 --- /dev/null +++ b/40/CH6/EX6.6/Exa_6_6.sce @@ -0,0 +1,18 @@ +//Frequency Response and filter characteristics
+z=%z;
+F=0:(0.5/200):0.5;
+z=exp(%i*2*%pi*F);
+H1=(1/3)*(z+1+z^-1);
+H2=(z/4)+(1/2)+(1/4)*(z^-1);
+H1=abs(H1);
+H2=abs(H2);
+a=gca();
+a.x_location="origin";
+subplot(211);
+plot2d(F,H1);
+xlabel('Digital frequency F');
+ylabel('impuse function H1(f)');
+subplot(212);
+plot2d(F,H2);
+xlabel('Digital frequency F');
+ylabel('impuse function H1(f)');
\ No newline at end of file |