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

4 次查看(过去 30 天)
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 个评论
John BG
John BG 2017-7-25
编辑:John BG 2017-7-25
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

请先登录,再进行评论。

回答(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:

类别

Help CenterFile Exchange 中查找有关 RF Network Construction 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by