EDA365电子论坛网

标题: MATLAB数据类型转换问题(double转换成unit8) [打印本页]

作者: SpencerJ2    时间: 2021-8-4 13:57
标题: MATLAB数据类型转换问题(double转换成unit8)
用的是MATLAB7.3,想把double的数据转换成unit8的,试了试Y=unit8(X),提示没有unit()这个函数,到底该怎么做呢?
! d" G% z0 P, q2 U& ~) Y6 f! t
作者: regngfpcb    时间: 2021-8-4 15:34
你这个字符unit没错吧
作者: yin123    时间: 2021-8-4 15:35
应该是uint吧
作者: piday123    时间: 2021-8-4 15:38
是uint8,你写错了,刚开始特别容易写错




欢迎光临 EDA365电子论坛网 (https://bbs.eda365.com/) Powered by Discuz! X3.2