how to detect this 2nd peak in a array ?

1 Ansicht (letzte 30 Tage)
shubham kumar gupta
shubham kumar gupta 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)

Akzeptierte Antwort

Sulaymon Eshkabilov
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));

Weitere Antworten (0)

Tags

Produkte


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by