Find connecting global maxima of a given dataset.
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hi all,
is there any build-in function or toolbox to find the connecting global maxima of a given dataset consiting of xy-values? The maxima should be determined by searching for the first maximum of the dataset and than "going along the x-axis" and determine all following global maxima while neglecting the global maxima found before. From what I understand the "islocalmax" function cannot be manipulated to do so. Do I have to create my own code for this using the max function? What are your recommendations? Exemplarily I illustrated my needs in the attached figure. I case of any further question do not hesitate to ask me :)
Many thanks in advance!
Cheers,
Nico
Risposte (1)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!