How do I convert my cell array into a cell array of doubles?
2 ビュー (過去 30 日間)
古いコメントを表示
Hi,
I have a cell array of cells (see attachment) and need to covert each of the cells into numeric arrays for further processing.
How can I do that in one go?
Thanks!
0 件のコメント
採用された回答
Voss
2022 年 4 月 13 日
S = load('pre_data_1.mat')
S.pre_data1
S.pre_data1 = cellfun(@cell2mat,S.pre_data1,'UniformOutput',false);
S.pre_data1
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Operators and Elementary Operations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!