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

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

Catégories

En savoir plus sur Language Fundamentals dans Centre d'aide et File Exchange

Tags

Question posée :

le 11 Août 2020

Réponse apportée :

Rik
le 11 Août 2020

Community Treasure Hunt

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

Start Hunting!

Translated by