how to detect this 2nd peak in a array ?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
shubham kumar gupta
el 6 de Jun. de 2021
Respondida: Sulaymon Eshkabilov
el 6 de Jun. de 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 comentarios
Respuesta aceptada
Sulaymon Eshkabilov
el 6 de Jun. de 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 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Matrices and Arrays en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!