How do I convert my cell array into a cell array of doubles?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponse acceptée
Voss
le 13 Avr 2022
S = load('pre_data_1.mat')
S.pre_data1
S.pre_data1 = cellfun(@cell2mat,S.pre_data1,'UniformOutput',false);
S.pre_data1
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Data Type Conversion dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!