Selecting maximum values from every column in a matrix
조회 수: 3 (최근 30일)
이전 댓글 표시
Hi,
I have a matrix of values and would like to select the highest value in every column and save it into a 1D array. Any help would be appreciated.
Cheers,
Alex
댓글 수: 0
채택된 답변
Vishal Rane
2013년 3월 11일
편집: Vishal Rane
2013년 3월 11일
댓글 수: 1
Eren Atar
2022년 6월 14일
A = rand(24*60*60,1);
B = reshape(A,[],1440) ;
iwant = max(B)
Thank you this should do it
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!