i have an image dataset with different classes (image, depth, labels, normal ... etc) and they all have their own folders.
i want to create a .mat file in which each of these folders are one single 4D uint arrays.
for example i want a image array with the following dimensions: 480 x 640 x 3 x 1000 that represents just one folder of the dataset (like image)
i have tried using "cat" but i could not make it work in a loop.
id appreciate a bit of help since im very new to matlab.