randi 0 to 3 (2bits)
이전 댓글 표시
How can I define a random sequence of 16384 whole numbers between 0 and 3 and each integer represents two bits?
채택된 답변
추가 답변 (1개)
Matt J
2020년 4월 12일
randi([0,3],16384,1)
카테고리
도움말 센터 및 File Exchange에서 Interpolation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!