Clear Filters
Clear Filters

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 view (last 30 days)
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.

Accepted Answer

Torsten
Torsten on 15 Jan 2018
disp(A(3,2))
Best wishes
Torsten.
  6 Comments
Guillaume
Guillaume on 16 Jan 2018
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.

Sign in to comment.

More Answers (0)

Categories

Find more on Mathematics in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!