summaryrefslogtreecommitdiff
path: root/52/CH6/EX6.14.a
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /52/CH6/EX6.14.a
downloadScilab-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.a')
-rwxr-xr-x52/CH6/EX6.14.a/Example6_14_a.jpgbin0 -> 34175 bytes
-rwxr-xr-x52/CH6/EX6.14.a/Example6_14_a.sce26
2 files changed, 26 insertions, 0 deletions
diff --git a/52/CH6/EX6.14.a/Example6_14_a.jpg b/52/CH6/EX6.14.a/Example6_14_a.jpg
new file mode 100755
index 000000000..b046a15e0
--- /dev/null
+++ b/52/CH6/EX6.14.a/Example6_14_a.jpg
Binary files differ
diff --git a/52/CH6/EX6.14.a/Example6_14_a.sce b/52/CH6/EX6.14.a/Example6_14_a.sce
new file mode 100755
index 000000000..1484a0589
--- /dev/null
+++ b/52/CH6/EX6.14.a/Example6_14_a.sce
@@ -0,0 +1,26 @@
+//Example 6.14a
+//Program to Plot Magnitude Responce of ideal Hilbert Transformer
+//using Rectangular Window
+//N=11
+clear;
+clc ;
+close ;
+N=11;
+U=6;
+h_Rect=window('re',N);
+for n=-5+U:1:5+U
+if n==6
+hd(n)=0;
+else
+hd(n)=(1-cos(%pi*(n-U)))/(%pi*(n-U));
+end
+h(n)=hd(n)*h_Rect(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 Rectangular Window');
+xgrid (2); \ No newline at end of file