How to merge 2 data?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
How to write the blow code in MATLAB Analysis ?
int16_t send_windSpeed =((msg[0] << 8) + msg[1]) ;
0 comentarios
Respuestas (1)
Yongjian Feng
el 18 de Jul. de 2021
Editada: Yongjian Feng
el 18 de Jul. de 2021
Are you looking for bitshift function? Something like:
send_windSpeed = bitshift(msg(0), 8) + msg(1);
3 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!