clc;clear; //Example 25.1 //calculation of sum of two binary numbers //given values X='0011';//first binary number Y='0101';//second binary number //calculation x=bin2dec(X);//decimal equivalent y=bin2dec(Y);//decimal equivalent z=x+y; Z=dec2bin(z); disp(Z,'Sum of the given binary numbers is ')