Conversion of cell containing numbers into a numerical double?
1 回表示 (過去 30 日間)
古いコメントを表示
How am I to convert a 101x1 cell (containing numbers) into a 101x1 double?
Thank you! Andie
0 件のコメント
回答 (1 件)
Brendan Hamm
2016 年 1 月 15 日
A = {3;4;5}; % Cell array
B = cell2mat(A) % convert to a double.
B =
3
4
5
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Data Type Conversion についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!