s2z
Convert S-parameters to Z-parameters
Description
Examples
Define a matrix of S-parameters.
s_11 = 0.61*exp(j*165/180*pi); s_21 = 3.72*exp(j*59/180*pi); s_12 = 0.05*exp(j*42/180*pi); s_22 = 0.45*exp(j*(-48/180)*pi); s_params = [s_11 s_12; s_21 s_22]; z0 = 50;
Convert S-parameters to Z-parameters.
z_params = s2z(s_params,z0)
z_params = 2×2 complex
102 ×
0.1141 + 0.1567i 0.0352 + 0.0209i
2.0461 + 2.2524i 0.7498 - 0.3803i
Input Arguments
N-port- S-Parameters, specified as an N-by-N M array of complex numbers, where M represents the number of frequency points of N-port S-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 Z-parameters, returned as an N-by-N-by-M array of complex numbers, where M represents the number of frequency points of N-port Z-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.
Website auswählen
Wählen Sie eine Website aus, um übersetzte Inhalte (sofern verfügbar) sowie lokale Veranstaltungen und Angebote anzuzeigen. Auf der Grundlage Ihres Standorts empfehlen wir Ihnen die folgende Auswahl: .
Sie können auch eine Website aus der folgenden Liste auswählen:
So erhalten Sie die bestmögliche Leistung auf der Website
Wählen Sie für die bestmögliche Website-Leistung die Website für China (auf Chinesisch oder Englisch). Andere landesspezifische Websites von MathWorks sind für Besuche von Ihrem Standort aus nicht optimiert.
Amerika
- 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)