The definition of variables
1 view (last 30 days)
HI FOR ALL...
please i need help in some problems .. 1- i need to create vector with binary number randomly . 2- i need to input numbers to algorithm and these numbers are binary . 3- i have " The modulo 2^32 addition denoted by ⊞ " operation ... how can i denoted in matlab with binary number .
Alessandro Masullo on 27 Jan 2015
You can create integer random vectors with randi(), convert it to binary with de2bi(), and convert input binary to decimal with bi2de(). I didn't understand the last question.