s2rlgc errors with s16p input

조회 수: 5 (최근 30일)
user8675309
user8675309 2022년 6월 21일
답변: Perdo 2022년 6월 23일
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!

답변 (1개)

Perdo
Perdo 2022년 6월 23일
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.

카테고리

Help CenterFile Exchange에서 Data Import and Network Parameters에 대해 자세히 알아보기

태그

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by