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 /851/CH3/EX3.3 | |
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 '851/CH3/EX3.3')
-rwxr-xr-x | 851/CH3/EX3.3/Example3_3.sce | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/851/CH3/EX3.3/Example3_3.sce b/851/CH3/EX3.3/Example3_3.sce new file mode 100755 index 000000000..a22f50044 --- /dev/null +++ b/851/CH3/EX3.3/Example3_3.sce @@ -0,0 +1,32 @@ +//clear//
+//Caption:Matched Filter output for RF pulse
+//Example3.3: MATCHED FILTER FOR RF PULSE
+clear;
+close;
+clc;
+fc =4; //carrier frequency in Hz
+T =1;
+t1 = 0:0.01:T;
+phit = sqrt(2/T)*cos(2*%pi*fc*t1);
+hopt = phit;
+phiot = convol(phit,hopt);
+phiot = phiot/max(phiot);
+t2 = 0:0.01:2*T;
+subplot(2,1,1)
+a =gca();
+a.x_location = "origin";
+a.y_location = "origin";
+a.data_bounds = [0,-1;1,1];
+plot2d(t1,phit);
+xlabel(' t')
+ylabel(' phi(t)')
+title('Figure 3.13 (a) RF pulse input')
+subplot(2,1,2)
+a =gca();
+a.x_location = "origin";
+a.y_location = "origin";
+a.data_bounds = [0,-1;1,1];
+plot2d(t2,phiot);
+xlabel(' t')
+ylabel(' phi0(t)')
+title('Figure 3.13 (b) Matched Filter output')
|