Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
I have data file which has 3 columns. I need to find the maximum values each from column 2 and 3 and then find the values in column 1 for which the values in column 2 and 3 are 0.24 of the maximum values of column 2 and 3. How to do this?
조회 수: 1 (최근 30일)
이전 댓글 표시
I have data file which has 3 columns. I need to find the maximum values each from column 2 and 3 and then find the values in column 1 for which the values in column 2 and 3 are 0.24 of the maximum values of column 2 and 3.
댓글 수: 1
Bob Thompson
2018년 4월 5일
You can use max() to find the maximum values of the two columns, just index to only look at those columns.
You can use find() to determine the location of values which are 0.24*max in the second and third columns.
You can find the values of the first column which relate through indexing.
답변 (0개)
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!