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.