uint8 vector to single

ui = typecast(single(1.75), 'uint32');

char('0' + bitget(ui,32👎1));

a = uint8(63)

b = uint8(224)

c = uint8(0)

y = typecast([c c b a], 'single')

posted @ 2024-08-31 19:50  ChrainY  阅读(5)  评论(0编辑  收藏  举报