From help-octave-bounces at octave dot org Mon Apr 17 15:41:52 2006 Subject: Re: hex format From: "Dmitri A. Sergatskov" To: NZG Cc: help at octave dot org Date: Mon, 17 Apr 2006 14:37:30 -0600 On 4/17/06, NZG 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. -- _______________________________________________ Help-octave mailing list Help-octave at octave dot org https://www.cae.wisc.edu/mailman/listinfo/help-octave