clc;clear; //Example 25.23 //hexadecimal to binary conversion //given values X='7AB';//hexadecimal number //calculation x=hex2dec(X);//decimal equivalent z=dec2bin(x); disp(z,'binary number is ');