필터 지우기
필터 지우기

mix several .mat files into one

조회 수: 1 (최근 30일)
Marry M
Marry M 2017년 3월 10일
댓글: Marry M 2017년 3월 11일
Hello, I have 10 mat files a1 to a10 like (a1=[1 2 3], a2=[4 5 6], a3=[7 8 9]...a10=[28 29 30]), I like to just combine all in one mat file like this: total=[1 2 3 4 5 .....30]. can anybody help me please?
  댓글 수: 2
Adam
Adam 2017년 3월 10일
Just read them all in, create 'total' and write the new mat file out. Obviously it would have been easier if you hadn't created so many independent numbered variables in the first place!
Marry M
Marry M 2017년 3월 11일
looks nice, can you please give me an example how can i do that?

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

답변 (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