blob: 41512b7703d741f7873d13c43d956458ebab546a (
plain)
1
2
3
4
5
6
7
|
//example 1.7(b)//
clc
//clears the screen//
clear
//clears already existing variables//
disp('when one of the logic input of 2-input NAND gate is 1, then when A=1, Y=0 and if A=0, Y=1')
disp('Y=A''')
|