//Ex19_1 Pg-957 clc bin='101'; //binary input dec=bin2dec(bin) //decimal output disp("The decimal equivqlent of 101 is") disp(dec)