imagesc3

版本 1.0.0.0 (2.3 KB) 作者: John Chilleri
Imagesc3 is a simple implementation of imagesc for 3D matrices.
132.0 次下载
更新时间 2017/4/28

查看许可证

Imagesc is a useful function for visualizing 2D matrices. This function, imagesc3, is a simple 3D implementation mimicking imagesc that (in this version) produces cubes at nonzero entry locations and empty cubes at zero entry locations.

The input is a 3D matrix M.

The output is figure(1).

Note that the current version is computationally expensive and best used with small matrices (<10x10x10).
Future versions (if updated) may include varying colors for varying values (similar to imagesc), as well as other common parameter-value pair arguments.

Why create this?
I have, in a few instances, found myself in a position where I desired this function for visualization of a 3D matrix. I always decided against committing the time to writing such a simple function, but now it's written, and I'm submitting it to possibly save others some time.

引用格式

John Chilleri (2024). imagesc3 (https://www.mathworks.com/matlabcentral/fileexchange/62725-imagesc3), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2015b
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0

.
.