how to detect this 2nd peak in a array ?

2 vues (au cours des 30 derniers jours)
shubham kumar gupta
shubham kumar gupta le 6 Juin 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)

Réponse acceptée

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

Plus de réponses (0)

Catégories

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

Tags

Produits


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by