1 2 3 4 5 6
//Example 12.10 clc; clear; disp("The LSB of an 11-bit system has a resolution of 1/2048"); re =ceil(10000/2048); // calculting the resolution printf("\n\n 1/2048 x 10 = %d mV",re);