How can I convert binary vector to a single binary number?
Ältere Kommentare anzeigen
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 Kommentar
madhan ravi
am 26 Aug. 2018
Could you show an example of input array and the output you want to get?
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Use Prebuilt MATLAB Interface to C/C++ Library finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!