plot only some points of a vector

8 ビュー (過去 30 日間)
Hajar
Hajar 2015 年 2 月 1 日
コメント済み: Hajar 2015 年 2 月 1 日
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?

採用された回答

Matt J
Matt J 2015 年 2 月 1 日
plot(yourVector(1:3:end))
  1 件のコメント
Hajar
Hajar 2015 年 2 月 1 日
It works , thanks a bunch

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by