image thumbnail

Matrix Visualization with Matlab

version 1.0.2 (2.1 KB) by Hristo Zhivomirov
Visualization of numeric matrices with up to three dimensions (rows, columns, pages).


Updated 09 Apr 2020

View License

The present code is a Matlab function that produces a view of a numeric matrix, where each matrix element is shown with its value and coded with color. The columns’ and rows’ numbers are placed on the x- and y-axis, respectively. The exact location and value of a given element on the matrix plot could be observed using the Data Cursor.

A few examples are given in order to clarify the usage of the function. For convenience, the input and output arguments are given in the beginning of the function.

Cite As

Hristo Zhivomirov (2022). Matrix Visualization with Matlab (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2017b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired: Flip a Coin or Roll a Dice with Matlab

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!