s2rlgc errors with s16p input

Hello,
I am using s2rlgc to convert measured S-parameters to RLGC matrices. When I pass the entire 16x16 S-parameter matrix to the s2rlgc function it returns the following error:
Error using s2rlgc_modified (line 295)
Cannot compute RLGC matrix for given data
The function works if I pass it a 2x2 subset of the S-parameter matrix, but anything larger returns the error.
E.g.:
output = s2rlgc(S_parameters(1:16,1:16,idx),length,freq) returns an error
but
output = s2rlgc(S_parameters(1:2,1:2,idx),length,freq) returns the RLGC values
Has anyone successfully used s2rlgc with a 4-port or larger dataset?
Thank you!

Réponses (1)

Perdo
Perdo le 23 Juin 2022

0 votes

s2rlgc only works for a 2-port network. You would need to break up your S-parameters into 2-port (s11, s12, s21, s22) and pass them separately in to the function.

Catégories

En savoir plus sur Data Import and Network Parameters dans Centre d'aide et File Exchange

Produits

Version

R2020b

Tags

Réponse apportée :

le 23 Juin 2022

Community Treasure Hunt

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

Start Hunting!

Translated by