Reshapes an vector with n^3 elements into an [n,n,n] array.
Cite As
david s (2026). reshape2cube (https://in.mathworks.com/matlabcentral/fileexchange/24651-reshape2cube), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2009a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Resizing and Reshaping Matrices in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
