Azzera filtri
Azzera filtri

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

1 visualizzazione (ultimi 30 giorni)
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)

Risposta accettata

Walter Roberson
Walter Roberson il 9 Mag 2016
s2rlgc requires the RF Toolbox be installed and licensed.

Più risposte (0)

Categorie

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

Community Treasure Hunt

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

Start Hunting!

Translated by