plotting complex impedances
- September 10, 2020
- 1 reply
- 2464 views
How to plot complex impedances where it is a product of 2 complex functions
Impedances of a capacitor Zc = 1/s*c(s) and the unit is Farad
where s is the Laplace Domain variable = 1j*w = 1j*2*pi*frequency
in my case, c(s) is the capacitance but is a function of s
I want to plot the magnitude of Zc = {[Re(Zc)]^2+[I'm(Zc)]^2}^0.5 versus frequency
If Zc is evaluated with "=", the result returns a scalar
I asked PTC helps and they said it is because I have 2 vectors multiplied together, so it returns a scalar. They recommend to vectorize the Zc expression but if you do that, it return a complex impedances of 1000 frequencies (the # of points I have), and then find a way to convert the 1000 complex impedances into the magnitude of each of the 1000 complex impedances.
My question is: Why do I have to vectorize the Zc expression? Is there another way to do it that does not need to vectorize Zc? I find it hard to believe when you want to plot out the magnitude or phase of a complex function that contains a product of more than 2 functions, you have to vectorize it.
Please see attached file
Thanks a lot for your helps
Rdliquid
PS: I am using Mathcad Prime 6.0

