How to create a empty binary vector?
조회 수: 5 (최근 30일)
이전 댓글 표시
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?
댓글 수: 0
답변 (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.
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!