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 Commenti

I would suggest using the reshape command:
doc reshape
KSSV
KSSV il 11 Giu 2018
Have a look on reshape

Accedi per commentare.

Risposte (0)

Commentato:

il 11 Giu 2018

Community Treasure Hunt

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

Start Hunting!

Translated by