Could anyone tell what is the difference between ind and idx.
15 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Prabha Kumaresan
am 13 Aug. 2018
Kommentiert: Prabha Kumaresan
am 13 Aug. 2018
Could anyone tell what is the difference between ind and idx.
2 Kommentare
Akzeptierte Antwort
Rik
am 13 Aug. 2018
Bearbeitet: Rik
am 13 Aug. 2018
As you may have noticed in the previous thread (where the code in the question was originally written by me as well), I sometimes use one, and sometimes the other.
It is not a hard and fast rule, but in general I will use idx for results of a search, and ind if I'm composing an index vector to be used in a vectorized operation. But these are personal preferences, and I don't even always follow this 'rule' myself.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Matched Filter and Ambiguity Function finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!