dectobin ,only with loops and condition
Infos
Cette question est clôturée. Rouvrir pour modifier ou répondre.
Afficher commentaires plus anciens
hi,the algorithem of the action for finding binary number is dividing to 2,but in the homework description I need to define cell veriable.the new matrix is basically strings in the i,j place.example for a vector [97 ,2]___['1100001','00000010']. please help me to complete my task
Réponses (1)
KL
le 19 Sep 2017
So to convert string to number,
doc str2num
and then to assign your number in a cell array
your_cell_array = {your_number}
Cette question est clôturée.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!