Binary Generation
이전 댓글 표시
Hello there
I am looking to count from 0 to 350 using a 9 bit binary number. I have a basic knowledge of Matlab and can do some simple tasks. I wandered if it was possible to use Matlab to generate the numbers. I thought this would be right up Matlab's street.
Thanks
Will
답변 (1개)
Ashish Uthama
2011년 3월 23일
d = 0:350;
disp(d);
b = dec2bin(d);
disp(b);
카테고리
도움말 센터 및 File Exchange에서 Data Type Conversion에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!