The definition of variables
조회 수: 3 (최근 30일)
이전 댓글 표시
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 .
THANKS
댓글 수: 0
채택된 답변
Alessandro Masullo
2015년 1월 27일
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.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Data Type Conversion에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!