blob: ba819e0a33673a4899df1dc21a80e0a815af8824 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// Chapter 1
//Output power in Watt
//page 18
//Example no 1-9
//Given
clc;
P1=12; // in dBw
Ref=1; // in mW
P=10^(P1*Ref/10);
printf("\n The ordinary power gain %.1f mW \n",P); // Result
|