1 2 3 4 5 6 7
//Ex19_8 Pg-959 clc dec=13 //decimal input bin=dec2bin(dec) //binary output disp("The binary equivalent of 13 is") disp(bin)