The definition of variables

조회 수: 3 (최근 30일)
mays afif
mays afif 2015년 1월 27일
댓글: mays afif 2015년 1월 27일
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

채택된 답변

Alessandro Masullo
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.
  댓글 수: 1
mays afif
mays afif 2015년 1월 27일
but i have huge data ... i didn't need to convert from dec2bin .. did you have other solution ?
thank you

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Type Conversion에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by