Conversion of cell containing numbers into a numerical double?

2 visualizzazioni (ultimi 30 giorni)
How am I to convert a 101x1 cell (containing numbers) into a 101x1 double?
Thank you! Andie

Risposte (1)

Brendan Hamm
Brendan Hamm il 15 Gen 2016
A = {3;4;5}; % Cell array
B = cell2mat(A) % convert to a double.
B =
3
4
5

Categorie

Scopri di più su Data Type Conversion in Help Center e File Exchange

Tag

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by