MATLAB: How to divide an image diagonally into two part

i want to divide an image diagonally,into two equal part. how can i do this?

Best Answer

Soumyadip - consider using tril or triu to obtain the lower triangular part or upper triangular part of the image (matrix).