How can i create a multiport network from several 3 port( or more) s-parameters matrixes (rf toolbox)

5 Ansichten (letzte 30 Tage)
Need to write script for calculation s-parameters of multiport network made of connected smaller multiport networks using measured/computed s-parameters matrixes . What is the best way for this?
  1 Kommentar
John BG
John BG am 25 Jul. 2017
Bearbeitet: John BG am 25 Jul. 2017
should the script strictly work on imported data?
or do you intend to control a test instrument?
If so have you already checked that you can control the instrument from MATLAB in separate computer?
John BG

Melden Sie sich an, um zu kommentieren.

Antworten (1)

MathWorks RF & Mixed-Signal Products Team
Hi,
You can write a script to import the S-parameters files with the command
s1 = sparameters('filename.s3p')
and then add the S-parameters to a circuit network
hckt = circuit('example');
add(hckt, [1 2 3], s1);
Add as many networks as you want and connect them according to the desired topology.
Define the analysis ports of the network, the frequency, and then compute the S-parameters:
setports(hckt, [1 0], [2 0], [3 0]);
freq = linspace(1e3, 1e6, 100);
Sout = sparameters(hckt, freq, 50);
an example is given here:

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by