blob: f15b7363c675cf4755ca6c460f0acb0ce28f007b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
clear//
//Variables
CMRR = 90.0 //Common-mode rejection ratio (in Decibels)
Adm = 30000.0 //Differential gain
//Calculation
Acm = 10**(-CMRR/20.0) * Adm //Common-mode gain
//Result
printf("\n The common-mode gain is %0.3f .",Acm)
|