extract some elemnt from an array

Hi all, How to extract from this Array :
A=[1 2 3 5 6 8 10]
this Array so that the diffrence between the neighbors exceed one :
B=[1 5 8 10]
Thank you!

Réponses (0)

Cette question est clôturée.

Tags

Question posée :

le 11 Jan 2018

Clôturé :

le 20 Août 2021

Community Treasure Hunt

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

Start Hunting!

Translated by