//Example 1.10 Conversion from Hexadecimal to Binary. clc; //clears the command window. clear; // clears the variable browser. x="2EA"; z = hex2dec(x) //Converts Hexadecimal number into decimal number. disp('Decimal equivalent of hexadecimal number:') disp(z) // displays the converted decimal number