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:
1 Comment
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/350138-how-can-i-create-a-multiport-network-from-several-3-port-or-more-s-parameters-matrixes-rf-toolbox#comment_471698
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/350138-how-can-i-create-a-multiport-network-from-several-3-port-or-more-s-parameters-matrixes-rf-toolbox#comment_471698
Sign in to comment.