Info

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

extract some elemnt from an array

1 view (last 30 days)
Rica
Rica on 11 Jan 2018
Closed: MATLAB Answer Bot on 20 Aug 2021
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!

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!