複数の10進数の値をndec2binで2進数に変換したいです。
Show older comments
複数の10進数の値をndec2binで2進数に変換したいです。
ex)a = [1 2 3]'
ndec2bin(a,3);
上のコードを試したのですがPlease specify x in the range[-2^(n-1) 2^(n-1)-1].というエラーがでてうまくできませんでした。ndec2binの関数の数値xには変数をいれられないということなのでしょうか?
Accepted Answer
More Answers (0)
Categories
Find more on Resizing and Reshaping Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!