the value of the row and columns
조회 수: 1 (최근 30일)
이전 댓글 표시
if i have matrix
x = [ 2,5,7,9,0,3,5,
0,5,11,9,20,3,5 ]
how can i get the value of column 5 row 2 i know it is 20 but i mean what function to use in MATLAB
댓글 수: 0
채택된 답변
Jon
2022년 5월 4일
편집: Jon
2022년 5월 4일
val = x(2,5)
댓글 수: 1
Jon
2022년 5월 4일
Glad this helped. If you want to get a quick immersion in MATLAB and you haven't already completed it I would recommend the free, 2 hour MATLAB Onramp training. It will get you up and running with MATLAB indexing (as in the question you asked), plotting, and much more. https://www.mathworks.com/learn/tutorials/matlab-onramp.html
추가 답변 (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!