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)
Afficher commentaires plus anciens
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 commentaires
Réponse acceptée
Torsten
le 15 Jan 2018
disp(A(3,2))
Best wishes
Torsten.
6 commentaires
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.
Plus de réponses (0)
Voir également
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!