How to create a empty binary vector?
显示 更早的评论
Hi sir/mam
i just want to create a empty binary vector to store 12 bit information, so i want to create a 12 bit empty binary vector. how can i do that in matlab?
回答(1 个)
Jan
2019-2-27
A = false(1, 12)
This is a logical vector, because there is not binary type in Matlab. A vector cannot be empty and have a certain size at the same time.
类别
在 帮助中心 和 File Exchange 中查找有关 Watermarking 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!