how to plot re(Zi) vs freq*freq
Using Matlab, ADS, or what else ?
I want to do it in HFSS or ADS.
Thanks!
in ads you can you the plot_vs() function to define freq*freq
In ADS simply, after the simulation has finisehd, in the results windows open a rectangular plot, add a trace (doesen't matter which one), then in the rigth windows where the trace you choose is listed double click on it. Then go in "Trace expression" and replace what is written with:
plot_vs(<what you want to plot>, freq*freq)
plot_vs means plot versus. the synopsis is plot_vs(Y,X) that will plot Y with respect to X.
If, for instance, you want to plot the S21, in dB with respect to freq^2, you'll have to write:
plot_vs(dB(S(2,1)), freq*freq)
thank you very much! do you know how to do it in HFSS?
johnjoe, thank you very much! do you know how to do it in HFSS?
No, I'm sorry, I don't know HFSS at all.
In HFSS you can do the same as in ADS:
When you create an new rectangular plot a window opens.
On the right side is a trace tab.
PrimarySweep should be Freq.
For X you can uncheck the Default and then type Freq*Freq.
And for Y you choose your value like S21
I have tried several times, they all failed, and I have to restart HFSS to make it works again.