how to detect this 2nd peak in a array ?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
shubham kumar gupta
am 6 Jun. 2021
Beantwortet: Sulaymon Eshkabilov
am 6 Jun. 2021
i have a array I want to find this 2nd peak
array of 1x2048
I want to iterate from back to this point i.e at X=1427+5(just before the start of 2nd peak)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/644195/image.png)
0 Kommentare
Akzeptierte Antwort
Sulaymon Eshkabilov
am 6 Jun. 2021
This can be solved in a relatively simple way, i.e.
V = .. % Signal
[V1, Index1] = max(V);
[V2, Index2] = max(V(1427+5:end));
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Matrices and Arrays 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!