Howdy, Stranger!

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

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Matrix visualization using MATLAB

gansvvgansvv Posts: 1Member
Hi,

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.