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 ?

 Accepted Answer

More Answers (1)

Maria Saleem
Maria Saleem on 2 Nov 2020
Edited: Maria Saleem on 2 Nov 2020
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

Categories

Community Treasure Hunt

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

Start Hunting!