How to merge 2 data?
조회 수: 2 (최근 30일)
이전 댓글 표시
How to write the blow code in MATLAB Analysis ?
int16_t send_windSpeed =((msg[0] << 8) + msg[1]) ;
댓글 수: 0
답변 (1개)
Yongjian Feng
2021년 7월 18일
편집: Yongjian Feng
2021년 7월 18일
Are you looking for bitshift function? Something like:
send_windSpeed = bitshift(msg(0), 8) + msg(1);
댓글 수: 3
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!