How to convert decimal into binary 2 bit?

1 次查看(过去 30 天)
Please Help Me ;)

回答(1 个)

Walter Roberson
Walter Roberson 2019-5-4
switch x
case 0; B = [0 0]
case 1; B = [0 1]
and case 2 and 3, and add an "end" statement

类别

Help CenterFile Exchange 中查找有关 Multirate Signal Processing 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by