Hi All

Another sweep question. I'm designing a transmitter, and I'm sweeping the tx frequency. I'd like to plot the 2nd and 3rd harmonic of the transmitter frequency, with the transmit frequency on the x axis, and the fundamental, 2nd harmonic and 3rd harmonic on the y axis. I can extract the power at the output node, but I don't understand how to extract out the spectral components at a specific frequency. Looking in the data set, I don't really see where the data is stashed.

Thanks

Dave

Another sweep question. I'm designing a transmitter, and I'm sweeping the tx frequency. I'd like to plot the 2nd and 3rd harmonic of the transmitter frequency, with the transmit frequency on the x axis, and the fundamental, 2nd harmonic and 3rd harmonic on the y axis. I can extract the power at the output node, but I don't understand how to extract out the spectral components at a specific frequency. Looking in the data set, I don't really see where the data is stashed.

Thanks

Dave

Simplest way for that - add new variables to swept analysis dataset, extracting amplitude of each harmonic, than set checkbox in sweep "Propagate analysis variables ..".

To get N-th harmonic of HB solution spectrum use expression [Freq@Freq[N+1]], so for fundamental of P2 it will be H1=P2[Freq@Freq[2]], for 2nd harmonic it's H2=P2[Freq@Freq[3]], etc.

For additional info see attached wsx.