1 2 3 4 5 6 7 8
//Ex19_16 Pg-963 clc oct='357' //octal input dec=oct2dec(oct) //decimal output bin=dec2bin(dec) //binary output disp("The binary equivalent of octal 34 is") disp(bin)