Effacer les filtres
Effacer les filtres

How to create a empty binary vector?

4 vues (au cours des 30 derniers jours)
niranjan v
niranjan v le 27 Fév 2019
Réponse apportée : Jan le 27 Fév 2019
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?

Réponses (1)

Jan
Jan le 27 Fév 2019
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.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by