Please see the attached screenshot for examples of the two operations, associated with TRANSPOSE procedure of SAS, and with PIVOT and UNPIVOT statements of T-SQL.
Cite As
Dimitri Shvorob (2024). Reshape a matrix (https://www.mathworks.com/matlabcentral/fileexchange/20963-reshape-a-matrix), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2007a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Resizing and Reshaping Matrices in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | BSD |