// example 2.7// clc //clears the screen// clear //clears all existing variables// a=8; //given numbers// b=185; c=b-a; d=dec2bin(c,12) disp(c,'subtraction of given numbers in decimal form = ') disp(d,'subtraction of given numbers in binary form = ')