From: "Bruno Luong" <b.luong@fogale.findmycountry>
Newsgroups: comp.soft-sys.matlab
Subject: Re: error in dec2hex
Date: Tue, 15 May 2012 17:16:07 +0000 (UTC)
Organization: FOGALE nanotech
Lines: 26
Message-ID: <jou30n$8a9$>
References: <jou1e2$h1$>
Reply-To: "Bruno Luong" <b.luong@fogale.findmycountry>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: 1337102167 8521 (15 May 2012 17:16:07 GMT)
NNTP-Posting-Date: Tue, 15 May 2012 17:16:07 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 390839
Xref: comp.soft-sys.matlab:767938

"Leyo Joseph" wrote in message <jou1e2$h1$>...
> Hello,
> I am trying this simple dec2hex and gets the error==>
>  k=200*2^47/38400

% Requirement

>> help dec2hex
 dec2hex Convert decimal integer to hexadecimal string.
    dec2hex(D) returns a 2-D string array where each row is the
    hexadecimal representation of each decimal integer in D.
    D must contain non-negative integers smaller than 2^52.


>> k==round(k)

ans =


Thus k does not meet the requirement.