I have a matrix with four values:
1,2 - representing one of two possible items say, A or B
3 - representing an intersection of both A and B
0 - representing null
Can I use MATLAB to draw and visualize the grid from this matrix?
For example, M1 = [1 3 2];
means that I need to visualize this as a 1x3 grid
with three color levels as attached.
Thanks in advance.