The definition of variables

3 visualizaciones (últimos 30 días)
mays afif
mays afif el 27 de En. de 2015
Comentada: mays afif el 27 de En. de 2015
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

Respuesta aceptada

Alessandro Masullo
Alessandro Masullo el 27 de En. de 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.
  1 comentario
mays afif
mays afif el 27 de En. de 2015
but i have huge data ... i didn't need to convert from dec2bin .. did you have other solution ?
thank you

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Data Type Conversion en Help Center y File Exchange.

Etiquetas

Aún no se han introducido etiquetas.

Community Treasure Hunt

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

Start Hunting!

Translated by