cover cell array into vector
古いコメントを表示
hi all, I have this cell array and I want to conver it into a vector. The problem is that cell2mat will remove the empty cells and I want to keep them as = ' '.
Then I need to build again the cell array from the resulted vectore.
Any help would be appreciated.

1 件のコメント
Fangjun Jiang
2020 年 5 月 18 日
You can't store empty '' or [] in numerical array. The best you can do is to replace it with zero or nan
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Cell Arrays についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!