From Z-parameters to H-parameters
 In matrix form, the formula is
  H=([1000]Z+[0001])([0001]Z+[1000])−1
  While for each element, we obtain
 H11H12H21H22=Z22Z11Z22−Z12Z21=Z22Z12=−Z22Z21=Z221
  
The formulas are obtained with the methods explained here.
        The MATLAB implementation can be found in circuitconversions on Gitlab.
 Definitions
   |   [V1V2]=Z[I1I2]   |    [V1I2]=H[I1V2]   |