Reshape a matrix

(pivot and unpivot)

You are now following this Submission

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 (2026). Reshape a matrix (https://www.mathworks.com/matlabcentral/fileexchange/20963-reshape-a-matrix), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0

BSD