Cell array convert into double
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi,
I have below cell array of numeric values, I want to convert them into double array Input:
{[ 315]}
{[ 315]}
{[ 315]}
{[337.5000]}
{[337.5000]}
Please find the attached file
0 Kommentare
Antworten (1)
madhan ravi
am 14 Jul. 2020
Wanted = cat(1, cell_array{:})
2 Kommentare
madhan ravi
am 14 Jul. 2020
cell_array =
5×1 cell array
{[ 315]}
{[ 315]}
{[ 315]}
{[337.5000]}
{[337.5000]}
>> Wanted = cat(1, cell_array{:})
Wanted =
315.0000
315.0000
315.0000
337.5000
337.5000
Siehe auch
Kategorien
Mehr zu Data Type Conversion finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!