有点连接

1视图(最近30天)
dmfwlansejr
dmfwlansejr 2021年8月13日
评论: SK Woo2021年12月30日
如果r = [0,0,0,1,0,0,0,1,0,0,1,0,0,0,1,0,0,0];
然后我要
r = 0001001001001000或'0001001001001000'
1条评论
SK Woo
SK Woo 2021年12月30日
r = [0,0,0,1,0,0,1,0,0,0,1,0,0,1,0,0,0];
两个= 2。^(15:-1:0)';
out = dec2bin(r *二,16)
ut ='0001001001001000'

登录发表评论。

答案(0)

标签

社区寻宝

在Matlab Central中找到宝藏,发现社区如何为您提供帮助!

开始狩猎!