mat2piv.m

Versión 1.0.0.0 (6,4 KB) por dan
Flatten an N-dimensional tensor into an Excel pivottable ready form
467 descargas
Actualizado 5 ago 2014

Ver licencia

Takes an N-dimensional vector/matrix/tensor M and optional user-provided labels and flattens it into a cell array suitable for use as an Excel pivot table datasource. The resultant 2-dimensional cell array P will be a matrix with one row per element in M and N+1 columns: one column to hold each dimension's labels plus one to hold the values. This cell array P is suitable for export to Excel to be used as a data source for a pivot table.

Citar como

dan (2024). mat2piv.m (https://www.mathworks.com/matlabcentral/fileexchange/47446-mat2piv-m), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2014a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Tables en Help Center y MATLAB Answers.
Agradecimientos

Inspirado por: Pivot/unPivot, pivottable

Inspiración para: mjeppesen/matlab-pivot-table

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.0.0.0