s2rlgc errors with s16p input
조회 수: 5 (최근 30일)
이전 댓글 표시
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!
댓글 수: 0
답변 (1개)
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.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Data Import and Network Parameters에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!