blob: 3bd6dcbcb0f783a3da500de1fe2ac0556141b113 (
plain)
1
2
3
4
5
6
7
8
9
10
|
//Example 12.5
clc;
clear;
ful_scale_voltage = 0 ;
for i=1:5
op_v(1,i)= 10/2^i;
ful_scale_voltage = ful_scale_voltage + op_v(1,i); // calculating the full scale voltage
end
disp("full scale output voltage in volts is =");
disp(ful_scale_voltage)
|