필터 지우기
필터 지우기

How to find only negative root of any polynomial

조회 수: 2 (최근 30일)
rajni
rajni 2014년 11월 7일
답변: Mikhail 2014년 11월 7일
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

답변 (2개)

Azzi Abdelmalek
Azzi Abdelmalek 2014년 11월 7일
r=roots(your_array)
r=r(r<0))

Mikhail
Mikhail 2014년 11월 7일
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));

카테고리

Help CenterFile Exchange에서 Polynomials에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by