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: data type
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
H.J. Wang

Posts: 12
Registered: 12/7/04
data type
Posted: Apr 7, 1998 7:19 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply


I am a new user of Matlab, and would appreciate if someone can answer
me a question.

I'd like to know whether I can generate data in Matlab which has the
data type of "byte" or "integer", rather than "float". My real concern
is this: I have to generate a lot of variables which take values of only
0 or 1. Then I'll do matrix manupulation based on the generated data.
If all these created data are in "float" type, it would require a huge
amount of memory and slow down the computation. But if it is stored in
"byte" or integer type, I think it should reduce the memory requirement
and speed things up.

Thank you in advance for any insight.

H.J. Wang

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.