blob: f5794c62150a78e6f71c707bdb1e6565ec174807 (
plain)
1
2
3
4
5
6
7
8
|
//Example 12.3
clc;
clear;
for i=1:5
op_v(1,i)= 10/2^i; // calculating otput voltages corresponding to each bit
end
disp("output voltages corresponding to each bit are ") //displaying result
disp(op_v);
|