I am trying to convert the cell arrays tables into arrays doubles, as I have 349*1 cell arrays.

1 回表示 (過去 30 日間)
I am trying to convert the cell arrays tables into arrays doubles, as I have 349*1 cell arrays.
So I need to apply a loop to convert all cell tables into doubles.
How can I save all these converted values as it is, like this format as shown given below.
thanks in advance.

採用された回答

KSSV
KSSV 2021 年 5 月 19 日
編集済み: KSSV 2021 年 5 月 19 日
Let T be your cell array which has table in each cell.
n = length(T) ;
iwant = cell(N,1) ;
for i = 1:n
iwant{i} = table2array(T{i}) ;
end
celldisp(iwant)

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMatrices and Arrays についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by