Prev: masked max (without a for loop)
Next: GA start point
From: Jennifer Faggi Renault on 22 Apr 2010 13:56 Hello i want to know if there is a methode or command that converts ASCII caractere to hex and thanls in advance
From: James Tursa on 22 Apr 2010 14:06 "Jennifer Faggi Renault" <asma_192(a)live.fr> wrote in message <hqq2k3$4e4$1(a)fred.mathworks.com>... > Hello > i want to know if there is a methode or command that converts ASCII caractere to hex > and thanls in advance You can often find functions by doing a lookfor with a partial name. e.g., >> lookfor hex dec2hex - Convert decimal integer to hexadecimal string. hex2dec - Convert hexadecimal string to decimal integer. hex2num - Convert IEEE hexadecimal string to double precision number. num2hex - Convert singles and doubles to IEEE hexadecimal strings. hextop - Hexagonal layer topology function. Then from this list you can see that hex2dec is probably the function you need. James Tursa
From: us on 22 Apr 2010 14:07 "Jennifer Faggi Renault" <asma_192(a)live.fr> wrote in message <hqq2k3$4e4$1(a)fred.mathworks.com>... > Hello > i want to know if there is a methode or command that converts ASCII caractere to hex > and thanls in advance a hint: help hex2dec; hex2dec('ff') % ans = 255 us
|
Pages: 1 Prev: masked max (without a for loop) Next: GA start point |