Filter löschen
Filter löschen

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

1 Ansicht (letzte 30 Tage)
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

Akzeptierte Antwort

Fangjun Jiang
Fangjun Jiang am 16 Aug. 2023
cell2mat(out)

Weitere Antworten (0)

Kategorien

Mehr zu Multidimensional Arrays finden Sie in Help Center und File Exchange

Produkte


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by