필터 지우기
필터 지우기

split data from workspace

조회 수: 2 (최근 30일)
nguyen tien
nguyen tien 2017년 5월 2일
편집: KL 2017년 5월 2일
hi everyone, i have MINIST file, it includes 28x28x60000 data, because it is too large, so it couldnot show, so now i want to use 500 data of its, it means 28x28x500, how can i do it, can you help me? thank you

답변 (1개)

KL
KL 2017년 5월 2일
편집: KL 2017년 5월 2일
I think Stephen has answered it here.
I would imagine something like
A = zeros(28,28,60000);
D = 500*ones(1,120);
C = mat2cell(A,28,28,D);
  댓글 수: 2
nguyen tien
nguyen tien 2017년 5월 2일
sorry, i dont understand what is D, what is 120 mean
KL
KL 2017년 5월 2일
편집: KL 2017년 5월 2일
D is how you want to split up your matrix. Here you want to split 60000 into 120 sub matrices of 500 each. That's what I understood from your question.

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

카테고리

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