Plotting specified columns using plot function

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

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 Centre d'aide 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