Simulink bit operations
조회 수: 7(최근 30일)
표시 이전 댓글
Hi all, I wanted to ask if from a number of bits that are represented with 1 and 0 is possible to invert the ones to -1 each lets say two bits? Thanks in advance.
답변(1개)
Paulo Silva
2011년 12월 16일
[1 0]------>Gain(-1)----->[-1 0]
Use the Gain block and define that gain as -1
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!