if i am having a matrix of n rows and m columns which command can be used to display the 3rd row second column value.

조회 수: 1 (최근 30일)
if i am having a matrix of n rows and m columns which command can be used to display the 3rd row second column value.

채택된 답변

Torsten
Torsten 2018년 1월 15일
disp(A(3,2))
Best wishes
Torsten.
  댓글 수: 6
Guillaume
Guillaume 2018년 1월 16일
Yes, as Torsten says, the proper way to write that sum is sum(U(1:k-1). Of course, that sum (and the whole expression) assume that U and V are vectors whereas you tell us you have matrix. I have no idea how you reconcile the two.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by