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: How to get a string from a fixed point data
Replies: 2   Last Post: Feb 19, 2014 12:37 AM

Advanced Search

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

Posts: 121
Registered: 10/8/05
How to get a string from a fixed point data
Posted: Feb 18, 2014 11:02 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply


I have some fixed point arrays. I would like to write the string of these fi arrays to a text file. For example, the following element has:

>> lut1_tmp0(1)

ans =


DataTypeMode: Fixed-point: binary point scaling
Signedness: Signed
WordLength: 26
FractionLength: 10

I would like to write 32767.99902343750 to a text file.

When I run:

>> dec(lut1_tmp0(1))

ans =


dec is not similar to bin, hex?

What can work for me?


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.