How can I convert binary vector to a single binary number?
Afficher commentaires plus anciens
Hi
could you please help me? I want to convert a vector which consists binary elements to a single binary number? i want to give 010110 from [0 1 0 1 1 0];(it is necessary for me to keep the first zero) and i want to keep format of number as a binary element because i want to compare the output with other binary numbers
1 commentaire
madhan ravi
le 26 Août 2018
Could you show an example of input array and the output you want to get?
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Use Prebuilt MATLAB Interface to C/C++ Library dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!