Effacer les filtres
Effacer les filtres

Plotting specified columns using plot function

2 vues (au cours des 30 derniers jours)
Mohammad Daud
Mohammad Daud le 29 Jan 2019
Commenté : Kevin Phung le 30 Jan 2019
if I have a matrix that is A(33x120), how would you plot column 3 vs. columns 25,27,30,32,35 in one syntax?
thanks

Réponse acceptée

Kevin Phung
Kevin Phung le 29 Jan 2019
Modifié(e) : Kevin Phung le 29 Jan 2019
plot(A(:,3),A(:,[25 27 30 32 35]))
  2 commentaires
Mohammad Daud
Mohammad Daud le 30 Jan 2019
Thanks :D
Kevin Phung
Kevin Phung le 30 Jan 2019
youre welcome :)

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Line Plots dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by