Effacer les filtres
Effacer les filtres

How to address part of a part of a matrix???!!!

1 vue (au cours des 30 derniers jours)
alexaa1989
alexaa1989 le 25 Fév 2015
Commenté : Matt J le 25 Fév 2015
hello everyone and thank for previous answers.
I have this matrix: R=[1 2 3 4; 5 6 7 8];
now I need to use [7 8]
in other words I need to use the elements of (3:4) from the first row R(1,:) and I don't want to do this: P=R(1,:);
P(3:4);
I need to write it directly.
Any help? thanks in advance
  1 commentaire
Matt J
Matt J le 25 Fév 2015
I think you mean the 2nd row. That's where [7,8] lies.

Connectez-vous pour commenter.

Réponses (1)

Matt J
Matt J le 25 Fév 2015
Modifié(e) : Matt J le 25 Fév 2015

Catégories

En savoir plus sur Logical 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