Quantcast
Channel: MATLAB Central Newsreader - converting int to float
Browsing all 7 articles
Browse latest View live

Re: converting int to float

Brett wrote:> > I guess I need to rephrase the question. With the fread command, if I> tell it to read in an int8, it reads 8 bits and stores it in matlab as> a double. But to create what...

View Article



Re: converting int to float

grantb@sysmatrix.net (Brett) writes:> I guess I need to rephrase the question. With the fread command, if I> tell it to read in an int8, it reads 8 bits and stores it in matlab as> a double....

View Article

Re: converting int to float

Brett wrote:> > Perhaps this question has been answered, but I wasn't able to find it.> Supose I read in 4 numbers of int8, but then realize that this should> be a float. Is there an easy...

View Article

Re: converting int to float

I guess I need to rephrase the question. With the fread command, if I tell it to read in an int8, it reads 8 bits and stores it in matlab as a double. But to create what fread would read when given the...

View Article

Re: converting int to float

Brett, You can use the DOUBLE command to convert from something (such as UINT8) to doubles. Jordan Brett wrote:> Perhaps this question has been answered, but I wasn't able to find it.> Supose I...

View Article


converting int to float

Perhaps this question has been answered, but I wasn't able to find it. Supose I read in 4 numbers of int8, but then realize that this should be a float. Is there an easy way to do this? Thanks, Brett

View Article

Re: converting int to float

grantb@sysmatrix.net (Brett) wrote in message <3c728109.94361390@svlnews.lmms.lmco.com>...> Perhaps this question has been answered, but I wasn't able to find it.> Supose I read in 4...

View Article
Browsing all 7 articles
Browse latest View live




Latest Images