transform the cell (50x95 cell) into the matrix 'in' (50x95x3 uint8)

1 view (last 30 days)
Hi! How can I try to transform the cell 'out' (50x95 cell) like the matrix 'in' (50x95x3 uint8)?
I am trying this way but I should apply it for all.
out = importdata("out.mat");
for R = 1:row_imageArray
for C = 1:col_imageArray
A = out{R,C}(:,:,1);
% B = out{R,C}(:,:,2);
% C = out{R,C}(:,:,3);
end
end

Accepted Answer

Fangjun Jiang
Fangjun Jiang on 16 Aug 2023
cell2mat(out)

More Answers (0)

Categories

Find more on Multidimensional Arrays in Help Center and File Exchange

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!