how to manage matrix construction?
2 ビュー (過去 30 日間)
古いコメントを表示
採用された回答
その他の回答 (1 件)
Star Strider
2014 年 11 月 20 日
4 件のコメント
Star Strider
2014 年 11 月 25 日
I have no idea what you’re doing. To make it binary with the randi function, change that line to:
len = 4; % Length of number string
h = randi([0 1],1,len);
参考
カテゴリ
Help Center および File Exchange で Creating and Concatenating Matrices についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
