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!

回答(0 个)

此问题已关闭。

标签

提问:

2018-1-11

关闭:

2021-8-20

Community Treasure Hunt

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

Start Hunting!

Translated by