Man Scilab

hex2dec
Scilab Function

hex2dec - conversion from hexadecimal representation to integers

Calling Sequence

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

Parameters

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.

Examples


hex2dec(['ABC','0','A'])
 
  

Back