This should have been simple.
I want to plot capacitance as a funciton of frequency for a varactor model. When I try
C=(-1/2/PI/im(Linear1_Data.ZIN1)/Linear1_Data.F)
I get a square matrix instead of an array.
Please help?
I want to plot capacitance as a funciton of frequency for a varactor model. When I try
C=(-1/2/PI/im(Linear1_Data.ZIN1)/Linear1_Data.F)
I get a square matrix instead of an array.
Please help?
There's a section in the user's manual under "Using Equations" -> "Debugging Tips" that addresses this. (You need to use the ./ operator to perform element-wise division, not a matrix divide with /)
So in general to do operations like this you'd have:
dataOne.Var1./dataTwo.Var2