diff options
Diffstat (limited to '1997/CH11/EX11.21/example21.sce')
-rwxr-xr-x | 1997/CH11/EX11.21/example21.sce | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/1997/CH11/EX11.21/example21.sce b/1997/CH11/EX11.21/example21.sce new file mode 100755 index 000000000..6cb2a3ffa --- /dev/null +++ b/1997/CH11/EX11.21/example21.sce @@ -0,0 +1,18 @@ +//Chapter-11 example 21
+//=============================================================================
+clc;
+clear;
+//input data
+Noise_power = -50;//noise power in dBm
+Fl = 1*10^6;//lower cutoff frequency in Hz
+Fh = 21*10^6;//upper cutoff frequency in Hz
+
+//calculation
+BW = Fh-Fl;//bandwidth
+NP =10^-8//noise power in watts; -50dBm = 10log10(NP) =>10^-5 mwatts
+NPSD = NP/BW;//noise power spectral density in W/Hz
+
+//output
+mprintf('Noise Power Spectral Density is %3.0e W/Hz',NPSD);
+
+//==============end of the program=============================================
|