diff options
Diffstat (limited to '998/CH29/EX29.99')
-rwxr-xr-x | 998/CH29/EX29.99/Ex99.sce | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/998/CH29/EX29.99/Ex99.sce b/998/CH29/EX29.99/Ex99.sce new file mode 100755 index 000000000..4e775a303 --- /dev/null +++ b/998/CH29/EX29.99/Ex99.sce @@ -0,0 +1,9 @@ +//Ex:99
+clc;
+clear;
+close;
+c_nu=10^(25/10);// The uplink carrier to noise ratio
+c_nd=10^(20/10);// The uplink carrier to noise ratio
+c_n1=(1/c_nu)+(1/c_nd);
+c_n=1/c_n1;// carrier to noise ratio
+printf("The carrier to noise ratio=%f db", 10*log(c_n)/log(10));
\ No newline at end of file |