Info

This question is closed. Reopen it to edit or answer.

Extracting Values in given Data

3 views (last 30 days)
rrv
rrv on 7 May 2019
Closed: MATLAB Answer Bot on 20 Aug 2021
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.

Community Treasure Hunt

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

Start Hunting!