how to fix undefined function or method problem for input arguments of type 'double'

1 次查看(过去 30 天)
I tried to carry out this in matlab and it gave me this error message :
??? Undefined function or method 's2rlgc' for input arguments of type 'double'.
Please how do i fix this problem.
s_11 = 0.000249791883190134-9.42320545953709e-005i;
s_12 = 0.999250283783862-0.000219770154524734i;
s_21 = 0.999250283783863-0.000219770154524756i;
s_22 = 0.000249791883190079-9.42320545953931e-005i;
s_params = [s_11,s_12;s_21,s_22];
% Specify the length, frequency of operation, and impedance of the transmission line
length = 1e-3;
freq = 1e9;
z0 = 50;
% Convert from s-parameters to rlgc-parameters
rlgc_params = s2rlgc(s_params,length,freq,z0);
display(rlgc_params)

采纳的回答

Walter Roberson
Walter Roberson 2016-5-9
s2rlgc requires the RF Toolbox be installed and licensed.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 RF Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by