reorganize a nD-array into matrix, and vise versa

版本 1.0.0 (2.6 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.0 次下载
更新时间 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