フィルターのクリア

Increase the interpolation increment

2 ビュー (過去 30 日間)
Torkan
Torkan 2019 年 8 月 31 日
コメント済み: darova 2019 年 9 月 8 日
Hi,
I have data sets as .csv with x and y coordinates. The data are correct and I plot them. However, I need to increase the X increment since the data are too much to be read by a machine. Does anybody know how can I increase the increment? Now, the X increment is 0.01 (inorganized, less or more) I need to plot the same thing with less number of points without reduce the accuracy too much. increment of let's say 0.5. What should I do?
Thanks

採用された回答

darova
darova 2019 年 8 月 31 日
If you want to read every 5th point:
i = 1:5:length(x);
plot(x(i),y(i))
  5 件のコメント
John D'Errico
John D'Errico 2019 年 9 月 8 日
I accepted it.
darova
darova 2019 年 9 月 8 日

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeInterpolation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by