binaryTensorVoxel
Version 1.0.0.1 (211 KB) by
Paul Kassebaum
Draw a 3D voxel representation of a binary tensor or 3D matrix.
A binary tensor may also be referred to as a 3D matrix of zeros and non-zeros or a 3D logical array. binaryTensorVoxel will draw cubes where there are non-zero entries in a tensor and leave vacancies where there are zeros. A simple use case example is
t = round(rand(3,3,3)); % zeros and ones
binaryTensorVoxel(t);
The thumbnail image for this File Exchange entry was drawn by applying binaryTensorVoxel to a 3D cellular automaton.
Cite As
Paul Kassebaum (2026). binaryTensorVoxel (https://uk.mathworks.com/matlabcentral/fileexchange/43481-binarytensorvoxel), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2013b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Atomic, Molecular & Optical in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
