在MATLAB 中,實現十進制與二進制轉化的函數有dec2bin(),bin2dec()。

Reference
http://jingyan.baidu.com/article/59703552c5699a8fc00740d2.html