summaryrefslogtreecommitdiff
path: root/2414/CH1/EX1.7/Ex1_7.sce
blob: 5895ba2183fcc5687edc4d0c4361f1a76f0659ff (plain)
1
2
3
4
5
6
7
8
9
10
11
clc;
//page 11
//ex-1.7

PmW=100; //power in mW
PdBm=10*log10(PmW/1);  //P in dBm level
disp('dBm',PdBm,+'(a).   Power in dBm level is:');
PdBW=PdBm-30;  //P in dBW level
disp('dBW',PdBW,+'(b).   Power in dBW level is:');
PdBf=PdBm+120;  //Pin dBf level
disp('dBf',PdBf,+'(c)   Power in dBf level is:');