How to merge 2 data?
이전 댓글 표시
How to write the blow code in MATLAB Analysis ?
int16_t send_windSpeed =((msg[0] << 8) + msg[1]) ;
답변 (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
wael elsisi
2021년 7월 18일
Yongjian Feng
2021년 7월 19일
What is msg in your original code please?
wael elsisi
2021년 7월 19일
카테고리
도움말 센터 및 File Exchange에서 MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!