summaryrefslogtreecommitdiff
path: root/3830/CH3/EX3.3/Ex3_3.sce
blob: fb4e806cf418b989ddfb9a02a2b517eaf89bd3e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Exa 3.3

clc;
clear;

// Given

NF = 30; // Noise figure in dB
BW = 1; // Bandwidth of 3 dB filter in kHz

// Solution

printf(' The noise level of the spectrum analyser is related to the noise figure and the IF bandwidth by the following equation - \n  MDS = -114 dbm + 10*log(BW/1MHz) + NF \n  so, by calculation :- ');

MDS = -114 + 10*log10(BW*10^3/10^6)+NF;

printf(' MDS = %d  dBm \n ' , MDS);

// The answer provided in the textbook is wrong