summaryrefslogtreecommitdiff
path: root/911/CH10/EX10.5/ex_10_5.sce
blob: d6c24722d4caa0cb5db363741c3647853dcf96d3 (plain)
1
2
3
4
5
6
7
8
9
//example 10.5//
//resolution//
clc
//clears the screen//
clear
//clears all variables//
a=2^12;
resolution=5000/(a-1);
disp(resolution, 'Resolution of 12 bit A/D converter (in mV)=')