How do you return the value of one vector at specified value of another vector
조회 수: 2 (최근 30일)
이전 댓글 표시
채택된 답변
Matt J
2017년 1월 26일
편집: Matt J
2017년 1월 26일
It's not entirely clear what you mean. Possibly, you want this
A(B==805)
or you could mean,
A(B)
추가 답변 (1개)
John D'Errico
2017년 1월 26일
Why have you not tried the obvious? What does
A(B)
provide?
It appears that you need to spend time reading the getting started tutorials for MATLAB if you do not understand how to use an index.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!