Azzera filtri
Azzera filtri

what is the difference between de2bi and dec2bin. i am not sure whether they are same or not.

20 visualizzazioni (ultimi 30 giorni)
what is the difference between de2bi and dec2bin. i am not sure whether they are same or not.

Risposta accettata

Walter Roberson
Walter Roberson il 27 Nov 2016
de2bi() outputs numeric values, like [1 0 1 1]. dec2bin() outputs strings, like '1011'
dec2bin() is part of basic MATLAB; de2bi() is part of Communications System toolbox.
de2bi() can also use different output bases, and can specify whether the bits are to be left-to-right or right-to-left.

Più risposte (0)

Categorie

Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by