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 次查看(过去 30 天)
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 个评论
Rik
Rik 2017-4-1
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.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Import and Analysis 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by