フィルターのクリア

Documentation on de2bi, is it accurate?

5 ビュー (過去 30 日間)
Sam
Sam 2014 年 1 月 21 日
回答済み: Jan 2014 年 1 月 21 日
Is this Link regarding the Documentation of de2bi accurate, in specific the 2nd Example regarding Padding Zeros?
When you say padding zeros don't you normally pad the left and onward. This example pads the right segment which changes the value of the binary.

採用された回答

Jan
Jan 2014 年 1 月 21 日
You do not pad "at the left" or "at the right", but the most significant bits. It is only a question of the output to the display, on which side these bits appear. In the shown case, it is the right. Using bin2dec it the the left.
See the 'left-msb' flag.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by