The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: dec2hex error
Replies: 1   Last Post: Oct 8, 2012 12:03 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Leyo Joseph

Posts: 67
Registered: 3/19/09
dec2hex error
Posted: Oct 8, 2012 11:28 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I have a variable clip1=6.51.
Making the following calculation and getting error==>

cl1 =


>> dec2hex(cl1)
??? Error using ==> dec2hex at 27
First argument must contain non-negative integers.



ans =


works well.

Not able to figure this out?

Date Subject Author
Read dec2hex error
Leyo Joseph
Read Re: dec2hex error
Bruno Luong

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.