Can I plot a subset (reduced frequency range) of S-parameters?

5 Ansichten (letzte 30 Tage)
Wis
Wis am 8 Okt. 2014
Bearbeitet: Wis am 9 Okt. 2014
I'd like to plot a some rfckt.passive S-parameters over a frequency range less than that of the circuit. Can I do that without creating a new circuit? I'd like to avoid an extra 'analyze' step.

Antworten (2)

Sandip Kumar
Sandip Kumar am 9 Okt. 2014
You can use the 'plot' command and use the condition, value pair to define a range of frequency:
As written here: When plotting large-signal S-parameters as a function of input power, you can specify frequency points of interest using condition/value pairs.
Thanks, Sandip, MathWorks
  1 Kommentar
Wis
Wis am 9 Okt. 2014
OK, but how to specify the proper condition/value pairs? That's not at all clear on the cited page.

Melden Sie sich an, um zu kommentieren.


Wis
Wis am 9 Okt. 2014
Bearbeitet: Wis am 9 Okt. 2014
I found this works:
% get frequency subset
plot_freqs = freq_list(1:2*end_freq_idx) ;
% define circuit over frequency range of interest
% ( "diff_two_port_Sparams" was created with "freq_list" )
diff_ckt = rfckt.passive('NetworkData',rfdata.network('Data', diff_two_port_Sparams(:,:,1:2*end_freq_idx), 'Freq', plot_freqs, 'z0', Z0*2)) ;
plot1 = plot(diff_ckt,'S12','db') ;

Kategorien

Mehr zu Circuit Envelope Simulation finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by