blob: be89058bde87ae536a3b94ad743157f2f2a7af9f (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// Chapter 1
//Output power
//page 18
//Example no 1-10
//Given
clc;
V=2; // in V
Ref=1; // in V
V1=20*log10(V/Ref);
printf("\n The value in dBV is %.2f dBV\n",V1);// Result
|