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 commentaires

Karim
Karim le 11 Juin 2018
I would suggest using the reshape command:
doc reshape
KSSV
KSSV le 11 Juin 2018
Have a look on reshape

Connectez-vous pour commenter.

Réponses (0)

Commenté :

le 11 Juin 2018

Community Treasure Hunt

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

Start Hunting!

Translated by