Cell array convert into double
3 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
回答 (1 件)
madhan ravi
2020 年 7 月 14 日
Wanted = cat(1, cell_array{:})
2 件のコメント
madhan ravi
2020 年 7 月 14 日
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
参考
カテゴリ
Help Center および File Exchange で Matrices and Arrays についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!