Filter löschen
Filter löschen

plot some lines only

1 Ansicht (letzte 30 Tage)
Fani
Fani am 25 Okt. 2014
Beantwortet: Azzi Abdelmalek am 25 Okt. 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!

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Line Plots finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by