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

1 次查看(过去 30 天)
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

采纳的回答

Fangjun Jiang
Fangjun Jiang 2023-8-16
cell2mat(out)

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Multidimensional Arrays 的更多信息

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by