Cell 2 Multidimensional Array Conversion

Hi, I have a 420 X 1 cell array, A, and each cell contains an 70000 x 100 matrix,How can I get 420 X 70000 X 100 ?

 採用された回答

Stephen23
Stephen23 2020 年 11 月 2 日
編集済み: Stephen23 2020 年 11 月 2 日

0 投票

2 件のコメント

Maria Saleem
Maria Saleem 2020 年 11 月 2 日
Thanks , But its giving 420 X 100 X 70000
Stephen23
Stephen23 2020 年 11 月 2 日
" But its giving 420 X 100 X 70000"
Try changing the permute order:
permute(..,[3,2,1])

サインインしてコメントする。

その他の回答 (1 件)

Maria Saleem
Maria Saleem 2020 年 11 月 2 日
編集済み: Maria Saleem 2020 年 11 月 2 日

0 投票

I tried to use this one , but no result
Also , I tried this code:
for i = 1:420
for j = 1:100
Aa = A{i,1}(:,j);
As(i,:,j) = Aa;
end
end

カテゴリ

ヘルプ センター および File ExchangeOperators and Elementary Operations についてさらに検索

質問済み:

2020 年 11 月 2 日

コメント済み:

2020 年 11 月 2 日

Community Treasure Hunt

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

Start Hunting!

Translated by