Overlay 2 matrices in an imagesc-like plot

This allows one to overlay 2 matrices in the same plot in an imagesc.m like manner.

You are now following this Submission

This function makes an imagesc-like plot for two matrices with equal dimensions, in which each each cell of the plot is split diagonally with the upper triangle of cell (i,j) in the plot representing the Matrix1(i,j) and the lower triangle representing Matrix2(i,j).

Cite As

Nathan (2026). Overlay 2 matrices in an imagesc-like plot (https://www.mathworks.com/matlabcentral/fileexchange/26305-overlay-2-matrices-in-an-imagesc-like-plot), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0