what is the difference between de2bi and dec2bin. i am not sure whether they are same or not.
16 次查看(过去 30 天)
显示 更早的评论
what is the difference between de2bi and dec2bin. i am not sure whether they are same or not.
0 个评论
采纳的回答
Walter Roberson
2016-11-27
de2bi() outputs numeric values, like [1 0 1 1]. dec2bin() outputs strings, like '1011'
dec2bin() is part of basic MATLAB; de2bi() is part of Communications System toolbox.
de2bi() can also use different output bases, and can specify whether the bits are to be left-to-right or right-to-left.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 MuPAD 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!