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!