Filter löschen
Filter löschen

How to get different mat files into a single matfile that is a 1X1 structure having all the different variables (in different matfiles) as its fields?

1 Ansicht (letzte 30 Tage)
I am working on a Human action recognition problem and I am using the Wiezmann dataset which has 93 videos. For each video I generate a feature vector which is 64 dimension and the number of rows are same as the number of Frames in the video. So I run my code over each video separately and save the feature vector from the workspace. This way I have a large dataset for training, possibly around 70-75 matfiles, which I would like to concatenate into a single variable and use this variable (let say X) as the data matrix in the kmeans function. To be more precise, I am trying to do something as they have done in this file available in the Wiezmann dataset. Please suggest a way of doing this.
  1 Kommentar
Rik
Rik am 1 Apr. 2017
Cells are your friend (and, when you have filled the cells, cell2mat).
If that doesn't help you, have a read here and here. It will greatly improve your chances of getting an answer.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Workspace Variables and MAT-Files finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by