summaryrefslogtreecommitdiff
path: root/3871/CH15/EX15.1/Ex15_1.sce
blob: 51910d2d5ab3aa0e561159c7530e12983fc5f576 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//=====================================================================================
//Chapter 15 example 1
clc;clear all;

//variable declaration
Ip    = 25;         //power level ot the third-order intercept in dBm
M     = -85;         //minimum detectable signal in dBm

//calculations
Rd    = (2/3)*(Ip-M);

//result
mprintf("dynamic range = %3.0f dB",Rd);