clear //initialization n='A013' //Hex number //Calculation w=hex2dec(n) //Hex to Decimal Coversion //Result printf("\n W = %d",w)