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.

Answers (0)

This question is closed.

Asked:

rrv
on 7 May 2019

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!