//Ex19_7 Pg-959 clc dec=31 //decimal input bin=dec2bin(dec) //binary output disp("The binary equivalent of 31 is") disp(bin)