Drexel dragonThe Math ForumDonate to the Math Forum

Search All of the Math Forum:

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

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

Topic: Typecasting After Reading in Large Binary File
Replies: 9   Last Post: Mar 1, 2013 12:22 PM

Advanced Search

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

Posts: 2,232
Registered: 8/5/09
Re: Typecasting After Reading in Large Binary File
Posted: Feb 28, 2013 1:26 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Scott" wrote in message <kglq6s$4hl$1@newscl01ah.mathworks.com>...
> I figured it out: just transpose, reshape into an row-vector, typecast, and transpose.

I find this curious. The file was actually written with the individual 8-bit pieces of each number scattered around the file? That seems very strange. Or are you reading it in in such a way that you are scattering the pieces yourself and then you have to un-scattering them with your subsequent transpose?

James Tursa

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

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2015. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.