Borrar filtros
Borrar filtros

plot some lines only

1 visualización (últimos 30 días)
Fani
Fani el 25 de Oct. de 2014
Respondida: Azzi Abdelmalek el 25 de Oct. de 2014
Hi all!
I have two columns with 38 lines. I want to plot these columns, but some lines only. I want to plot the lines 1:14 and 26:38. How can i do this? Thank you!

Respuesta aceptada

Azzi Abdelmalek
Azzi Abdelmalek el 25 de Oct. de 2014
idx=[1:14 26:38]
plot(x(idx),y(idx))

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by