Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Matrix visualization using MATLAB

gansvvgansvv Member Posts: 1

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.
Sign In or Register to comment.