convert into 4D array data

Hello, I have a 500 x 16384 matrix. where each row represents a sensor info i.e. 1 x 16384.I need to change each row and arrange it to 4D array data something like 128-by-128-by-1-by-500 (something similar to digitTrain4DArrayData). How can i do the conversion and arrangement?

2 件のコメント

Karim
Karim 2018 年 6 月 11 日
I would suggest using the reshape command:
doc reshape
KSSV
KSSV 2018 年 6 月 11 日
Have a look on reshape

サインインしてコメントする。

回答 (0 件)

カテゴリ

質問済み:

2018 年 6 月 11 日

コメント済み:

2018 年 6 月 11 日

Community Treasure Hunt

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

Start Hunting!

Translated by