Cell to double returns NaN
2 ビュー (過去 30 日間)
古いコメントを表示
I have a c={7 x 1 cell}, and used c1=str2double(c), but get NaN's any advice please.
0 件のコメント
採用された回答
Walter Roberson
2015 年 10 月 18 日
If the contents of the cell are already numeric and the task is to convert from a cell array to a purely numeric array, then
c1 = cell2mat(c);
0 件のコメント
その他の回答 (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!