mustangyhz
Member level 5
- Joined
- Nov 18, 2008
- Messages
- 87
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,286
- Activity points
- 1,978
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
I want to do it in HFSS or ADS.Using Matlab, ADS, or what else ?
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)
in ads you can you the plot_vs() function to define freq*freq
I have tried several times, they all failed, and I have to restart HFSS to make it works again.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