Main Content

GainPoleZeroToGPZ

Combine separate gain, pole, and zero variables into GPZ matrix

Since R2023b

Description

gpz = GainPoleZeroToGPZ(G,P,Z) converts the gains, poles, and zeros of a CTLE family into a GPZ matrix.

example

Examples

collapse all

Define the gain, pole, and zero variables as matrix inputs.

G = [0;-1;-2];
P = [-23771428571,-13092857142,0;...
    -17603571428,-13344642857,0;...
    -17935714285,-13596428571,-15321428571];
Z = [-10492857142;-7914982142;-6845464285];

Combine the variables into a single GPZ matrix.

gpz = serdes.CTLE.GainPoleZeroToGPZ(G,P,Z);

You can also define the variables as cell inputs.

Gc = [0;-1;-2];
Pc = {[-23771428571,-13092857142];...
     [-17603571428,-13344642857];...
     [-17935714285,-13596428571,-15321428571]};
Zc = {-10492857142;-7914982142;-6845464285};

Combine the variables into matrix.

gpzc = serdes.CTLE.GainPoleZeroToGPZ(Gc,Pc,Zc);

Input Arguments

collapse all

Gains of a CTLE family, specified as a numeric vector.

Poles of a CTLE family, specified as a numeric matrix or a cell of numeric vectors.

Zeros of a CTLE family, specified as a numeric matrix or a cell of numeric vectors.

Output Arguments

collapse all

Gain pole zero, specified as a matrix.

Version History

Introduced in R2023b

See Also