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 vue (au cours des 30 derniers jours)
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.

Réponse acceptée

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

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Creating and Concatenating Matrices dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by