diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /52/CH6/EX6.14.b | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '52/CH6/EX6.14.b')
-rwxr-xr-x | 52/CH6/EX6.14.b/Example6_14_b.jpg | bin | 0 -> 39520 bytes | |||
-rwxr-xr-x | 52/CH6/EX6.14.b/Example6_14_b.sce | 26 |
2 files changed, 26 insertions, 0 deletions
diff --git a/52/CH6/EX6.14.b/Example6_14_b.jpg b/52/CH6/EX6.14.b/Example6_14_b.jpg Binary files differnew file mode 100755 index 000000000..84a10cb11 --- /dev/null +++ b/52/CH6/EX6.14.b/Example6_14_b.jpg diff --git a/52/CH6/EX6.14.b/Example6_14_b.sce b/52/CH6/EX6.14.b/Example6_14_b.sce new file mode 100755 index 000000000..f256e07fe --- /dev/null +++ b/52/CH6/EX6.14.b/Example6_14_b.sce @@ -0,0 +1,26 @@ +//Example 6.14b
+//Program to Plot Magnitude Responce of ideal Hilbert Transformer
+//using Blackman Window
+//N=11
+clear;
+clc ;
+close ;
+N=11;
+U=6;
+for n=-5+U:1:5+U
+h_balckmann(n) = 0.42+0.5*cos(2*%pi*(n-U)/(N-1))+0.08*cos(4*%pi*(n-U)/(N-1));
+if n==6
+hd(n)=0;
+else
+hd(n)=(1-cos(%pi*(n-U)))/(%pi*(n-U));
+end
+h(n)=hd(n)*h_balckmann(n);
+end
+[hzm ,fr]= frmag (h,256) ;
+figure
+plot (2*fr ,-hzm);
+a = gca ();
+xlabel ('Frequency w*pi');
+ylabel ('H(exp(j*w))');
+title ('Frequency Response of Hilbert Transformer with N=11 using Blackman Window');
+xgrid (2);
\ No newline at end of file |