Clear Filters
Clear Filters

i divided images into 8x8 blocks using mat2cell,but it shows error .

1 view (last 30 days)
my code is
y=[f1 f2 f3 f4 f5];
for li=1:length(y)
div=[8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 ];
b(li)=mat2cell(li(y),div,div);
end

Answers (0)

Community Treasure Hunt

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

Start Hunting!