thanks for the answers. you helped a lot. I tried this:
a = x(1:end*0.1, 1:end);
b = x(end*0.1:end, 1:end);
c = x(1:end, 1:end*0.1);
d = x(1:end, end*0.1:end);
it seems that it works well.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!