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)
Show older comments
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.
0 Comments
Accepted Answer
Torsten
on 15 Jan 2018
disp(A(3,2))
Best wishes
Torsten.
6 Comments
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.
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!