Info
此问题已关闭。 请重新打开它进行编辑或回答。
dectobin ,only with loops and condition
1 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(1 个)
KL
2017-9-19
So to convert string to number,
doc str2num
and then to assign your number in a cell array
your_cell_array = {your_number}
3 个评论
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!