ab = double(lab_he(:,:,2:3)); nrows = size(ab,1); ncols = size(ab,2); ab = reshape(ab,nrows*ncols,2);
조회 수: 1 (최근 30일)
이전 댓글 표시
채택된 답변
Jan
2017년 9월 29일
편집: Jan
2017년 9월 29일
lab_he(:, :, 2:3)
is the [M x N x 2] subarray taken from the [M x N x P] array called lab_he. double() converts it to the type double.
These are elementary Matlab methods. If is not efficient to ask such general and basic questions in the forum. Better read the "Getting Started" chapters of the documentation to learn how to use this powerful language.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Statistics and Machine Learning Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!