How i can convert binary elements of cell into decimal elements and store the results in array?
2 ビュー (過去 30 日間)
表示 古いコメント
Dear Matlab Community,
i want to convert a binary elements of the cell into decimal elements and store the results in array
MB =
1×10 cell array
'0101' '0011' '0111' '0100' '0110' '0101' '0110' '0111' '0110' '1111'
0 件のコメント
採用された回答
Voss
2022 年 11 月 23 日
MB = { '0101' '0011' '0111' '0100' '0110' '0101' '0110' '0111' '0110' '1111'};
D = bin2dec(MB)
2 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Find more on Data Type Conversion in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!