Effacer les filtres
Effacer les filtres

Find index of values in a range

7 vues (au cours des 30 derniers jours)
toka55
toka55 le 9 Mar 2020
Commenté : toka55 le 9 Mar 2020
Dear all,
I have a column with values (measuring time points) and want to find the index of the measured values that correspond to a given difference between the values.
e.g.
dist = [0.3480
0.9469
1.9194
3.8308
6.4390
9.4430
12.4771
16.9087
21.9262
27.8727]
I want to find the index of all values that have a distance >4. In this example I would expect the index 5, 7, 8, 9, 10.
Thanks.

Réponse acceptée

Fangjun Jiang
Fangjun Jiang le 9 Mar 2020
  1 commentaire
toka55
toka55 le 9 Mar 2020
Thanks.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Matrix Indexing dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by