I calculated the equivalent impedance of an RLC circuit, and I would like this one to be completely resistive (complex part equals to 0). So I declared my variables as 'syms' and I used the function 'solve' to obtain the equivalent impedance litterally like:
The problem is that Matlab gives me a solution like this:
But I would like something like: Zeq = A + i*B.
Could anyone help?