Azzera filtri
Azzera filtri

is there a function that returns the real root from a matrix that contains the roots of a function ?

1 visualizzazione (ultimi 30 giorni)
i want to return the real root from a vector contains the roots of a function, this vector contains both imaginary and real roots

Risposta accettata

Walter Roberson
Walter Roberson il 12 Apr 2013
If R is the vector of roots, then
R(imag(R) == 0)

Più risposte (0)

Categorie

Scopri di più su Multidimensional Arrays in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by