reshape(YourVector, 8, []).'
A substitute instead of strcat()
1 次查看(过去 30 天)
显示 更早的评论
I have binary data with one in each row as below:
0
0
1
0
1
1
and so on, i need to concatenate them into eight bits each like: 01010000 01011111 00000000 ..... , i could think of other way than using strcat() which makes it a character. How can i concatenate them other than strcat()?
Thank you.
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!