clc; w = sym('w','real'); C=1;B=2*w;A=2; P=[C 0 -B 0 A]; R=roots(P); Real_R=real(R); alpha=Real_R(Real_R>0); disp(alpha)
MATLAB: My query is to get roots with positive real part of an equation having variable real coefficients. An example is given below.
root of equation having variable coefficients
Best Answer