[請益] uint轉成double

作者: mvphisashi (小三)   2017-05-31 10:47:15
請問一下板上的大大們
我這遇到一個狀況
程式如下
A=uint8(3)
B=double(A)
在第二行會有error
說conversion to double from simulink numeric type is not possible
請問有辦法把uint8轉回double嗎
作者: LiamIssac (Madchester)   2017-06-01 18:11:00
如果是image 可用im2double
作者: lee0412 (lee0412)   2017-06-25 10:46:00
是在simulink 上的值要轉type?

Links booklink

Contact Us: admin [ a t ] ucptt.com