mat2piv.m
Version 1.0.0.0 (6,4 KB) von
dan
Flatten an N-dimensional tensor into an Excel pivottable ready form
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.
Zitieren als
dan (2026). mat2piv.m (https://de.mathworks.com/matlabcentral/fileexchange/47446-mat2piv-m), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Erstellt mit
R2014a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- MATLAB > Language Fundamentals > Data Types > Tables >
Mehr zu Tables finden Sie in Help Center und MATLAB Answers
Tags
Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
| Version | Veröffentlicht | Versionshinweise | |
|---|---|---|---|
| 1.0.0.0 |
