blob: 3debcba527fb1cc85aab3e3a1c09344c389bd12c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// Calculating Signal to noise ratio and CMRR
clc;
V2=30*10^-3;
V1=-30*10^-3;
Vd=V2-V1;
Ad=150;
Vos=Ad*Vd;
Ac=0.04;
Vc=600*10^-3;
Von=Ac*Vc;
SNR=Vos/Von;
CMRR=Ad/Ac;
disp(SNR,'Signal to Noise Ratio=')
disp(CMRR,'CMRR=')
|