how to concatenate different mat files of massive sizes in one matfile?

조회 수: 1 (최근 30일)
i am trying to concatenate 6 matfiles of size 50 by 262144 each in to one matfile. the resultant/concatenated matfile is
of size 50 by 1572864, but it should be of size 50 by (262144)^6 which is equal to 50 by 3.245185536584267e+32.
Please tell me what to do. below is my code for concatenation
load Fv_ROI_BDIP
load Fv_ROI_Bilateral
load Fv_ROI_CDF
load Fv_ROI_GradOrient
load Fv_ROI_HOG
load Fv_ROI_LBP
load Fv_ROI_RGLBP
load Fv_ROI_SparceDist
load Fv_ROI_SSGM
% Concatenate
X = [ Fv_ROI_BDIP Fv_ROI_Bilateral Fv_ROI_CDF Fv_ROI_GradOrient Fv_ROI_LBP Fv_ROI_SSGM];
%Save to new mat file
save('Final_fv.mat', 'X')

채택된 답변

Walter Roberson
Walter Roberson 2017년 1월 12일
50 by (262144)^6 of the smallest kind of data (uint8 for example) would require approximately 16 Giga Yottabytes of storage.
You can't afford it.
  댓글 수: 2
maida
maida 2017년 1월 12일
what should i do then?
first reduce dimensions by PCA.
Please guide me in detail :/ :/
Walter Roberson
Walter Roberson 2017년 1월 12일
Why do you think this information should all be stored? Are you thinking of doing an exhaustive search of combinations? There is no way you could process such a thing in a reasonable amount of time.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by