hex2dec

Purpose

Hexadecimal to decimal number conversion.

Synopsis

d = hex2dec('string')

Description

hex2dec('string') converts the hexadecimal integer string stored in a MATLAB string to its decimal representation.

Examples

hex2dec('3ff') is 1023.

See Also

dec2hex, format, hex2num

(c) Copyright 1994 by The MathWorks, Inc.