Extracting Values in given Data

If I have these set of data
0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0.
How can I extract the ff. values such that,
  • the differences for every 1-number interval are 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1;
  • the differences for every 2-number interval are 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2; and
  • the differences for every 3-number interval are 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3.
and, so on until the Nth interval.

回答(0 个)

此问题已关闭。

提问:

rrv
2019-5-7

关闭:

2021-8-20

Community Treasure Hunt

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

Start Hunting!

Translated by