faceData = cell(40,5); % or cell(5,40) for i=1:40 for j=1:5 % ... read v w = uint8(v); faceData{i,j} = w; % or faceData{j,i} = w; end end faceData = reshape(faceData,[],1);
faceData = cell(40,5); % or cell(5,40) for i=1:40 for j=1:5 % ... read v w = uint8(v); faceData{i,j} = w; % or faceData{j,i} = w; end end faceData = reshape(faceData,[],1);
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!