//Ex19_25 Pg-970 clc x=bin2dec('1101') //1st input y=bin2dec('1010') //2nd input z=x-y //subtraction sub=dec2bin(z,4) disp(" 1101 - 1010 = ") disp(sub)