finding the Column name of a matrix
조회 수: 4 (최근 30일)
이전 댓글 표시
find the column name correspnding to particular values in a row of a mertrix
i tried this but not working
A(find(A(50,:)=1), 2)
댓글 수: 0
채택된 답변
Star Strider
2022년 11월 15일
I am not certain what you want to do.
The equality comparison operator in MATLAB is the double-equal (==) operator —
A = randi(9, 7, 5)
A(find(A(5,:)==1), 2)
.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Matrix Indexing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!