s2rlgc errors with s16p input

4 visualizzazioni (ultimi 30 giorni)
user8675309
user8675309 il 21 Giu 2022
Risposto: Perdo il 23 Giu 2022
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!

Risposte (1)

Perdo
Perdo il 23 Giu 2022
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.

Categorie

Scopri di più su Data Import and Network Parameters in Help Center e File Exchange

Prodotti


Release

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by