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 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!