Hi everyone,
I have a row vector of length N, I want to plot only few points of the vector, eg I plot the first point of the vector and then I jump 3 points of the vector and I plot the 5th and so on, keeping a regular step of 3 for instance. Please could someone help me to do that on Matlab?

 Akzeptierte Antwort

Matt J
Matt J am 1 Feb. 2015

1 Stimme

plot(yourVector(1:3:end))

Weitere Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Hilfe-Center und File Exchange

Tags

Gefragt:

am 1 Feb. 2015

Kommentiert:

am 1 Feb. 2015

Community Treasure Hunt

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

Start Hunting!

Translated by