reorganize a nD-array into matrix, and vise versa

バージョン 1.0.0 (2.59 KB) 作成者: wfH
Shift data to operate on specified dimension. This HANDY function is very USEFUL to handle time series data in nD-array format.
ダウンロード: 5
更新 2023/6/2

ライセンスの表示

`PERMUTEDATA` reorganize a nD-array into 2D-matrix (i.e., faltten), and vise versa.
It is particularly useful to handle time series data in nD-array format (e.g., signal processing, motion analysis, ..., etc.).
NOTE
Most pieces of code were taken from Jan's excellent work `FilterM` (https://www.mathworks.com/matlabcentral/fileexchange/32261-filterm).
This function is just a wrapper.
[fdata] = permutedata(data);
[fdata] = permutedata(data, dim);
[fdata, Constructor] = permutedata(data);
[fdata, Constructor] = permutedata(data, dim);
[data] = permutedata(fdata, Constructor)

引用

wfH (2024). reorganize a nD-array into matrix, and vise versa (https://www.mathworks.com/matlabcentral/fileexchange/130429-reorganize-a-nd-array-into-matrix-and-vise-versa), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2021a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
謝辞

ヒントを得たファイル: FilterM

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0