blob: a345e70fe15a352b2171ced36d5162bf71c0a36e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
//Example 7.9
clear;
clc;
R1=100*10^3;//From Example 7.7(a)
R2=200*10^3;//From Example 7.7(a)
Aso=-(R2/R1);
Eno=154*10^(-6);//From Example 7.9
Eni=Eno/abs(Aso);
Vipa=0.5;//Peak amplitude of input ac signal
Virms=Vipa/sqrt(2);
SNR=20*log10(Virms/Eni);
printf("SNR of the circuit of Example 7.7=%.1f dB",SNR);
|