Delete/Remove Elements where the difference to the element before is bigger then 2

1 view (last 30 days)
so for example:
4.73720000000000
4.73630000000000
4.75280000000000
5.51690000000000
6.88660000000000
5.66340000000000
5.47680000000000
2.29820000000000 ---------> i would like to delete this element
7.51750000000000 ---------> i would like to delete this element
6.44990000000000
6.02870000000000
5.81740000000000
Thanks in advange for you help

Answers (1)

Rik
Rik on 11 Aug 2020

Categories

Find more on Language Fundamentals in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!