1 2 3 4 5 6
//example 3.4// clc //clears the screen// clear //clears all existing variables// disp('In case of AND gate. Y=A*A'', this will always result in output as 0.')