I'm at this point working on my final year project and I have some questions that probably I should not have, but I do.

I'm following a book to help me with formulas and to better understand the concepts I need to understand. This book is "Antenna Theory. Analysis and Design" from Constantine, A. Balanis.

At this point I'm bringing back to my memory concepts such as reflection coefficient and voltage standing wave ratio that I need for my project.

So, at a starting point, I was asked to write some code in MatLab/Octave to try to better understand the impact on VSWR inherent to changing the Transmission Line impedance, Antenna impedance and Antenna impedance types (such as inductive and capacitive impedance).

So, from the book the reflection coefficient is given by:

\[\displaystyle{\Gamma = \frac{Z_{in}-Z_{0}}{Z_{in}+Z_{0}}}\]

But then I'm left thinking how can I include a non purely resistive load in this formula. I mean, if the load has an inductor or a capacitor, how do I evaluate the reflection coefficient?