Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

how to generate two bits of data

1 vue (au cours des 30 derniers jours)
Ayesha Punjabi
Ayesha Punjabi le 27 Fév 2019
Clôturé : Walter Roberson le 27 Fév 2019
tag_arr = randi[0:1,1:5]
this gives an output of
1 0 0 0 1
but i want to generate two bits binary data like the expected output should be
10 01 11 10 11 (random two bits binary data)
How should i code sytax for that?? Kindly help

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by