A bit of Maths
Having another go at calculating the optimum output match for a generic LNA I had a play in MatLab, but being less than familiar with MatLab I wanted to double check my results. Perl is an easy to use programming language, and has an extenion for complex numbers, which makes things easy. Supplying the input gamma, along with the S-parameters for the optimum input match for minimum noise from the datasheet, this attempts to calculate the optimum output match from the formula: It is reasonably simple to use Perl to calculate this once the Math::Complex library is loaded, complex numbers can be manipulated with the same ease as real numbers, thanks to the wonders of operator overloading. To check the program, the values from the paper which included a worked example. However when I ran the calculation, I did not get the published results ...infact, it was not even close ... and after two days of head scratching and questioning whether I could even do basic maths, I posted...