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 /2409/CH12/EX12.18/Ex12_18.sce | |
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 '2409/CH12/EX12.18/Ex12_18.sce')
-rwxr-xr-x | 2409/CH12/EX12.18/Ex12_18.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/2409/CH12/EX12.18/Ex12_18.sce b/2409/CH12/EX12.18/Ex12_18.sce new file mode 100755 index 000000000..156db5e5f --- /dev/null +++ b/2409/CH12/EX12.18/Ex12_18.sce @@ -0,0 +1,14 @@ + +//Variable Declaration + +Nu=100 //Noise spectral density for uplink(dBHz) +Nd=87 //Noise spectral density for downlink(dBHz) + +//Calculation + +N0CR=10**(-Nu/10)+10**(-Nd/10) //Noise to carrier ratio +CNR=-10*log10(N0CR) //Combined c/N0 ratio(dBHz) + +//Result +printf("The combined carrier to noise ratio is %.2f dBHz",CNR) + |