Borrar filtros
Borrar filtros

Plotting specified columns using plot function

2 visualizaciones (últimos 30 días)
Mohammad Daud
Mohammad Daud el 29 de En. de 2019
Comentada: Kevin Phung el 30 de En. de 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

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]))

Más respuestas (0)

Categorías

Más información sobre Line Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by