summaryrefslogtreecommitdiff
path: root/3446/CH11/EX11.5/Ex11_5.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3446/CH11/EX11.5/Ex11_5.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3446/CH11/EX11.5/Ex11_5.sce')
-rw-r--r--3446/CH11/EX11.5/Ex11_5.sce32
1 files changed, 32 insertions, 0 deletions
diff --git a/3446/CH11/EX11.5/Ex11_5.sce b/3446/CH11/EX11.5/Ex11_5.sce
new file mode 100644
index 000000000..6ae798e0b
--- /dev/null
+++ b/3446/CH11/EX11.5/Ex11_5.sce
@@ -0,0 +1,32 @@
+// Exa 11.5
+// To Calculate:
+//(a) minimum separation between frequency tones,
+//(b) number of frequency tones produced by a frequency synthesizer,
+//(c) processing gain, and
+//(d) hopping bandwidth.
+
+clc;
+clear all;
+
+R=200;//input data rate in bps
+Fhop=200;//per second
+k=1;//Multipication_Factor
+
+//solution
+// We have 32-FSK modulation scheme
+Bits_sym=log2(32);
+Rs=Fhop/Bits_sym;
+printf('There are 200 hops per second and Symbol rate is %d symbols per sec \n',Rs);
+disp("The hop rate is higher than symbol rate, the system is a fast FHSS system.");
+SDur=1/Rs;
+L=Fhop/Rs;
+CDur=SDur/L;
+Separation=1/CDur;
+M=2^Bits_sym;
+Hop_BW=k*M*Fhop*L;
+Gp=M*k*L;
+disp("");
+printf(' Minimum separation between frequency tones should be %d Hz\n',Separation);
+printf(' Number of different frequency tones produced by a frequency synthesizer are %d\n',M);
+printf(' Processing Gain is %d\n ',Gp);
+printf('Hopping bandwidth is %d kHz\n',Hop_BW/1000);