blob: 114fa25cdfcd5044de85da41edc0b1602907e0ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
//===========================================================================
//chapter 3 example 11
clc;clear all;
//variable declaration
V = 200; //full-scale reading i V
n = 100; //number of divivsions of scale
//calculations
n1 = V/(n); //1 scale division in V
R = n1/(5); //1/5 th of scale division in V
//result
mprintf("resolution = %3.2f V",R);
|