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