diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3446/CH11/EX11.1 | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-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.1')
-rw-r--r-- | 3446/CH11/EX11.1/Ex11_1.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/3446/CH11/EX11.1/Ex11_1.sce b/3446/CH11/EX11.1/Ex11_1.sce new file mode 100644 index 000000000..67146bdd8 --- /dev/null +++ b/3446/CH11/EX11.1/Ex11_1.sce @@ -0,0 +1,16 @@ +// Exa 11.1
+// To calculate the processing gain and improvement in information rate.
+
+clc;
+clear all;
+
+CR1=1.2288; //Mcps(Clock rate 1)
+CR2=5;//Mcps(Clock rate 2)
+R1=9.6; //Information rate in Kbps for CR1
+PG2=256; //Processing Gain for CR2
+
+//solution
+PG1=10*log10(CR1*10^3/9.6);//Processing Gain for CR1
+R2=CR2*10^3/PG2;//information rate in Kbps for CR2
+printf('The processing gain for clock rate 1.2288Mcps is %d dB\n ',PG1);
+printf('Improvemrnt in information rate is %.2f Kbps\n',R2-R1);
|