필터 지우기
필터 지우기

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 CenterFile Exchange에서 Introduction 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