//Example 2-14// //binary to hexadecimal conversion// x=bin2dec('1010111010') //decimal equivalent of the binary number// a=dec2hex(x) //Hex equivalent of the decimal number// disp(a) //answer in hexadecimal form//