Ok I admit understanding the details of using equations is not my strong point, and yes I tried to use the help file , but is still a bit thin in the example category.. I am trying to perform a simple calculation.. What I am attempting to do is to determine the capacitance looking at the output of a PA.. I plotted the output ompedance ZIN2 on the smith chart, and low and behold it is capacitance.. I want to calculate the capacitance across the band of interest.. So, what I need to do is apply the simple equation:
Cout=1/2*PI*F*Xc, where Xc is the complex impedance which we know as Zin2.. The problem I am having is in using the equations to forfill this. I tried using the equation wizrd to insert Zin2 , but my choices are either real, or imaginary.. Is there a rectangular so I can calculate the entire vector? How can I perfom this simple calculation?
Cout=1/2*PI*F*Xc, where Xc is the complex impedance which we know as Zin2.. The problem I am having is in using the equations to forfill this. I tried using the equation wizrd to insert Zin2 , but my choices are either real, or imaginary.. Is there a rectangular so I can calculate the entire vector? How can I perfom this simple calculation?
The issue you're running into is that F*X is a really large array because you're multiplying two vectors together using matrix math (which does an outer product). You want to use F.*X to do element by element multiply.
So, type in
using("MyDataset")
COut = 1/(2*PI*F.*ZIN2)
Note that if you're just trying to graph it or see it in a table you can point the graph/table at your dataset and use the measurement one-liner
1/(2*PI*F.*ZIN2)
Although technically correct, I don't think this is the most obvious thing in the world (using .*). We've "updated" + and - so that if you do vector + or - vector it uses elementwise as the obvious choice. We'll do the same with * and /.
Mark