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?

조회 수: 2 (최근 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에서 Workspace Variables and MAT Files에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by