Scilab Function

hex2dec - conversion from hexadecimal representation to integers

Sequence d'appel

d=hex2dec(h)
d=oct2dec(o)
d=base2dec(s,b)

Parametres

Description

hex2dec(x) returns the matrix of numbers corresponding to the hexadecimal representation.

oct2dec(x) returns the matrix of numbers corresponding to the octal representation.

base2dec(x,b) returns the matrix of numbers corresponding to the base b representation.

Exemples