blob: 23d4a5ad58375e82abbcab664b821af9ace55e7d (
plain)
1
2
3
4
5
6
|
//example 7.4(b)//
clc
//clears the screen//
clear
//clears all variables//
disp('Inputs D5 to D7 are the ones that are active; among these, D7 has the highest priority. Therefore, the output bits are A=0, B=0 and C=0')
|