Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.



Re: Typecasting After Reading in Large Binary File
Posted:
Feb 27, 2013 10:16 PM


"Scott" wrote in message <kgloic$s1b$1@newscl01ah.mathworks.com>... > I'm reading in a large binary file ... > A = 7000x2 matrix of uint8 > B = typecast(A,'int16') > Desired Result: > B = 7000x1 array of int16 where each int16 is derived from each row in A. ========================================= Not sure what the problem was, but 7000 by 2 is actually very small. It's not like you have tens of millions of numbers or anything. 14,000 elements is a pretty small array by today's standards. Even a garden variety digital image is about 30 thousand times bigger than that.



