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

7 vues (au cours des 30 derniers jours)
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 commentaire
John BG
John BG le 25 Juil 2017
Modifié(e) : John BG le 25 Juil 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

Connectez-vous pour commenter.

Réponses (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:

Catégories

En savoir plus sur Data Import and Network Parameters dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by