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 中查找有关 Mathematics 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by