Conversion of cell containing numbers into a numerical double?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
How am I to convert a 101x1 cell (containing numbers) into a 101x1 double?
Thank you! Andie
0 commentaires
Réponses (1)
Brendan Hamm
le 15 Jan 2016
A = {3;4;5}; % Cell array
B = cell2mat(A) % convert to a double.
B =
3
4
5
0 commentaires
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!