convert negative integer to n (>32) bits?
조회 수: 1 (최근 30일)
이전 댓글 표시
I need convert negative integer to n (>32) bits binary. I fould 'Integer to Bit Converter' block having limit of number of bits up to 32, and functions 'de2bi' or 'dec2bin' only applicable for non-negtive integer. What can I do? Many thanks!!
답변 (1개)
Walter Roberson
2011년 12월 20일
The Fixed Point Toolbox is probably what you want.
댓글 수: 5
Fangjun Jiang
2011년 12월 20일
The OP had another question indicating that. But I guess that MATLAB has a Fixed-Point Toolbox too.
참고 항목
카테고리
Help Center 및 File Exchange에서 String에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!