mat2piv.m

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.

引用

dan (2026). mat2piv.m (https://jp.mathworks.com/matlabcentral/fileexchange/47446-mat2piv-m), MATLAB Central File Exchange. に取得済み.

謝辞

ヒントを得たファイル: Pivot/unPivot, pivottable

ヒントを与えたファイル: mjeppesen/matlab-pivot-table

カテゴリ

Help Center および MATLAB AnswersTables についてさらに検索

一般的な情報

MATLAB リリースの互換性

  • すべてのリリースと互換性あり

プラットフォームの互換性

  • Windows
  • macOS
  • Linux
バージョン 公開済み リリース ノート Action
1.0.0.0