help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: hex format


From: Dmitri A. Sergatskov
Subject: Re: hex format
Date: Mon, 17 Apr 2006 14:37:30 -0600

On 4/17/06, NZG <address@hidden> wrote:
> Whats a simple way to see a number in Octave in hex?
> I tried
> "format hex"
> but this isn't giving me what I want.
> 2 is not 0000000000000040
> by any conversion I've ever seen

When you type "2" it is double 2 which is different
from e.g. uint8(2)

>
> Obviously I can just pull the number out and put in the OS's scientific
> calculator, but surely there is an Octave function for this, isn't there?
>
> thx,
> NZG

Regards,
Dmitri.
--



reply via email to

[Prev in Thread] Current Thread [Next in Thread]