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