https://www.mathworks.com/help/rf/ref/powergain.html
powergain - Calculate power gain from two-port S-parameters - MATLAB
This MATLAB function calculates the transducer power gain of the 2-port network by:...
two ports parameterscalculatepowergain
https://au.mathworks.com/help/rf/ref/powergain.html
powergain - Calculate power gain from two-port S-parameters - MATLAB
This MATLAB function calculates the transducer power gain of the 2-port network by:...
two ports parameterscalculatepowergain