i tried to do this in this way but i don't understand what is wrong
[col,row]=find(abs(diag(T))<0.2); T(row,col)=0;
i'm expecting to zero only a square around the shape in this way
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!