blob: 9ef8af82f2d25a45f0959c22b8aba0d101e97835 (
plain)
1
2
3
4
5
6
7
8
9
10
|
// Calculating the resolution of the instrument, quantization error and decesion levels
clc;
Reso=10*10^-3/10;
disp (Reso,'resolution of the instrument=')
n=10;
Q=10/2^n;
Eq=Q/(2*3^0.5);
disp (Eq,'quantization error=')
D=(2^n)-1;
disp (D,'decesion levels=')
|