edit finding mean

조회 수: 10 (최근 30일)
kash
kash 2012년 2월 4일
i used the code
out = [CLL_combinations(:,1:2,:) mean(CLL_combinations(:,3:end,:),2)]
i get output as
CLL_MEAN(:,:,1) =
83.0000 83.0000 0.6598
87.0000 87.0000 0.2103
;
;
;
CLL_MEAN(:,:,50) =
90.0000 90.0000 -0.1558
96.0000 96.0000 0.3872
i need only the third column to be displayed AS
CLL_MEANI=
0.6598
;
;
;
0.3872
PLEASE HELP
  댓글 수: 1
Walter Roberson
Walter Roberson 2012년 2월 4일
See also the previous related question http://www.mathworks.com/matlabcentral/answers/27577-finding-mean

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

채택된 답변

Walter Roberson
Walter Roberson 2012년 2월 4일
CLL_MEANI = reshape(CLL_MEAN(:,end,:), [], 1);

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