Select specific points in a figure before continuing a for loop
Afficher commentaires plus anciens
Here, I plot complex eigenvalues in the complex plane where the imaginary part is in ordinate and the real part in abscissa. This spectrum will evolve according to the input conditions I ask it. The 2 figures below have been captured at 2 different times. From one moment to the other, the eigenvalues will not be at the same position in my figure.
Rather than looking for a correspondence between each eigenvalue at each time (like the function matchpairs), I would like to work with only a part of its values to reduce the code execution time. For example, with the ones that have the largest imaginary parts (the ones that form a kind of spider's web). The complexity is that I don't know their position in my array, nor the exact number of values I am interested in and the location of the eigenvalues in the vector is not the same from one moment to the next.
So my question is: is it possible to select some eigenvalues on my figure before continuing my loop?


To go further, let's suppose a case (figure below) where my values are in the middle of my spectrum (circled in red), is it still possible to extract exclusively these values before continuing my loop?

I know that my request is complicated but if someone has an idea, I'll take it. Thanks in advance for your help !
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Creating and Concatenating Matrices dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!