Why the function "bi2de" only returns non-negative integers, when the description says it returns non-negative real numbers!
조회 수: 2 (최근 30일)
이전 댓글 표시
I read that the function bi2de takes any binary vector - "a vector composed of only zeros and ones" and returns a non-negative real number. But, I tried it many times it returns positive integers!
댓글 수: 0
답변 (1개)
Walter Roberson
2019년 9월 1일
Not sure where you are reading that. The document says
d =bi2de(b) converts a binary row vector b to a nonnegative decimal integer.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!