z2s
Convert Z-parameters to S-parameters
Description
Examples
Define a matrix of Z-parameters.
Z11 = -14567.2412789287 - 148373.315116592i; Z12 = -14588.1106171651 - 148388.583516562i; Z21 = -14528.0522132692 - 148350.705757767i; Z22 = -14548.5996561832 - 148363.457002006i; z_params = [Z11,Z12; Z21,Z22];
Convert Z-parameters to S-parameters.
s_params = z2s(z_params)
s_params = 2×2 complex
0.0038 + 0.0248i 0.9964 - 0.0254i
0.9961 - 0.0250i 0.0037 + 0.0249i
Input Arguments
N-port Z-parameters, specified as an N-by-N-by-M array of complex numbers, where M represents the number of frequency points of N-port Z-parameters.
Reference impedance in ohms, specified as one of the following:
Positive real scalar when you want to specify the same the reference impedance for all ports in the network.
Positive real vector of length N when you want to specify a different reference impedance for each port in the N-port network. (since R2023a)
Positive real vector of length K when you want to specify a different reference impedance for each in the K frequencies in the data. (since R2023a)
If the reference impedance is a vector and the number of ports N
equals the number of data frequencies K, N ==
K, then the sparameters
object will assign each
element of the vector to each port of the network. To specify reference impedances for
each frequency in this case, specify Z0
as a 3-D vector of length
1-by-1-by-K.
Output Arguments
N-port S-parameters, returned as a N-by-N-by-M array of complex numbers, where M representing number of frequency points of N-port S-parameters.
Version History
Introduced before R2006aSpecify a different reference impedance for each port in the network by setting the
z0
argument to a vector.
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Seleccione un país/idioma
Seleccione un país/idioma para obtener contenido traducido, si está disponible, y ver eventos y ofertas de productos y servicios locales. Según su ubicación geográfica, recomendamos que seleccione: .
También puede seleccionar uno de estos países/idiomas:
Cómo obtener el mejor rendimiento
Seleccione China (en idioma chino o inglés) para obtener el mejor rendimiento. Los sitios web de otros países no están optimizados para ser accedidos desde su ubicación geográfica.
América
- América Latina (Español)
- Canada (English)
- United States (English)
Europa
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)