Home » Questions » Computers [ Ask a new question ]

How to do binary decimal calculations with bin2dec

How to do binary decimal calculations with bin2dec

What is the Octave NaN for? Is dot wrong delimiter?

Asked by: Guest | Views: 243
Total answers/comments: 2
bert [Entry]

"Nan means Not a Number

You operation produced an undefined result. bin2dec(s) returns the decimal representation of the binary number in s. But you passed a decimal number.

You probably wanted to use dec2bin()"
bert [Entry]

According to Octave's manual, you can open and read binary floating point data in VAX D and VAX G floating format, but 'Conversions are currently only supported for "ieee-be" and "ieee-le" formats.'