moonnightingale
Full Member level 6
I have two quesions
1. I have generated 1000 Random integers by this command.
Digits=randint(1,1000)
Now i want to save these bits in a group of 4 each. I mean first four bit in a array(1)
then next four in array (2) and so on
I know for loop will be used but i am not getting how to implement it
2. I have made code in matlab which involves binary digits 1 and 0
I want to perfom certaiin operations on this code
I want that Matlab should consider these 1 and 0s as binary and not decimal
1. I have generated 1000 Random integers by this command.
Digits=randint(1,1000)
Now i want to save these bits in a group of 4 each. I mean first four bit in a array(1)
then next four in array (2) and so on
I know for loop will be used but i am not getting how to implement it
2. I have made code in matlab which involves binary digits 1 and 0
I want to perfom certaiin operations on this code
I want that Matlab should consider these 1 and 0s as binary and not decimal