Filter löschen
Filter löschen

How to find only negative root of any polynomial

1 Ansicht (letzte 30 Tage)
rajni
rajni am 7 Nov. 2014
Beantwortet: Mikhail am 7 Nov. 2014
I am looking for a filter design. and from all possible roots of transfer function, i have to filter only left half s-plane (negative) roots. please suggest any code as "roots()" gives all +ve and _ve roots

Antworten (2)

Azzi Abdelmalek
Azzi Abdelmalek am 7 Nov. 2014
r=roots(your_array)
r=r(r<0))

Mikhail
Mikhail am 7 Nov. 2014
If you have symbolic math toolbox, function vpasolve will find all roots. After that you can filter it with something like:
a=vpasolve(eqn);
b=a(find(real(a)<0));

Kategorien

Mehr zu Polynomials finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by