# how to convert z parameter to s parameter?

조회 수: 3 (최근 30일)
Venkatkumar M . 2022년 12월 20일
댓글: Bora Eryilmaz . 2022년 12월 20일
Hi,
I have two set of data.
One data has frequency, Z(ohm), theta.(R1Z.csv)
other data set has frequency, Z(db), theta (R1.txt)
I need to convert this two set of data from Z paramters to S parameter.

댓글을 달려면 로그인하십시오.

### 답변 (1개)

Bora Eryilmaz 2022년 12월 20일
편집: Bora Eryilmaz 님. 2022년 12월 20일
Depending on which way you want to go:
% Ohm to dB
Z = 4.17;
ZdB = 20 * log10(Z)
ZdB = 12.4027
% dB to ohm
ZdB = 12.39;
Z = 10^(ZdB / 20)
Z = 4.1639
I am not sure what you mean by S parameter, though.
##### 댓글 수: 4이전 댓글 3개 표시이전 댓글 3개 숨기기
Bora Eryilmaz 2022년 12월 20일
Looks like to have magnitudes and angles as your data:
(1.23903195326879e+001dB,-8.89777753697489e+001°)
I think the right transformation to a complex format would be the (r,theta) to (x,y) transformation:
ZdB = 1.23903195326879e+001; % In dB
Z = 10^(ZdB / 20)
Z = 4.1641
thetaDeg = -8.89777753697489e+001; % In degrees
z = 0.0743 - 4.1634i
s = z2s(z, 1)
s = 0.8838 - 0.4504i
I don't know much about z2s transformations, so please double check if the last line gives you what you want.

댓글을 달려면 로그인하십시오.

### 카테고리

Help CenterFile Exchange에서 MATLAB Coder에 대해 자세히 알아보기

R2022a

### Community Treasure Hunt

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

Start Hunting!