How can i locate where two column values are the same in a row?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
new2matlab
le 4 Déc 2019
Modifié(e) : Adam Danz
le 27 Jan 2020
I have a column of 400 numbers that vary depending on input and i want to detect when the become constant (towards the end).
1 commentaire
Réponse acceptée
JESUS DAVID ARIZA ROYETH
le 4 Déc 2019
a=[1 2 3 4 4 4 4];
s=find([diff(a) 1]==0,1,'first')
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Propagation and Channel Models 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!