Cell array convert into double
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposte (1)
madhan ravi
il 14 Lug 2020
Wanted = cat(1, cell_array{:})
2 Commenti
madhan ravi
il 14 Lug 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
Vedere anche
Categorie
Scopri di più su Matrices and Arrays in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!