the value of the row and columns

조회 수: 1 (최근 30일)
lola khairy
lola khairy 2022년 5월 4일
댓글: Jon 2022년 5월 4일
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

채택된 답변

Jon
Jon 2022년 5월 4일
편집: Jon 2022년 5월 4일
val = x(2,5)
  댓글 수: 1
Jon
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 CenterFile Exchange에서 Matrix Indexing에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by