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

 Respuesta aceptada

Kevin Phung
Kevin Phung el 29 de En. de 2019
Editada: Kevin Phung el 29 de En. de 2019
plot(A(:,3),A(:,[25 27 30 32 35]))

2 comentarios

Mohammad Daud
Mohammad Daud el 30 de En. de 2019
Thanks :D
Kevin Phung
Kevin Phung el 30 de En. de 2019
youre welcome :)

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Etiquetas

Preguntada:

el 29 de En. de 2019

Comentada:

el 30 de En. de 2019

Community Treasure Hunt

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

Start Hunting!

Translated by