Help on conversion of data
1 次查看(过去 30 天)
显示 更早的评论
Please help me on it
- if i have 3 column of data
- convert the data to binary 4 bit
- concat it to one data to make 12 bits
- transpose the concated data
- and take it as input.
Thanks
回答(2 个)
Walter Roberson
2015-10-21
1 个评论
Walter Roberson
2015-10-21
dec2bin( floor(A(:,1) * 16) * 256 + floor(A(:,2) * 16) * 16 + floor(A(:,3) * 16), 12) - '0'
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Type Conversion 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!