Hi everyone, I need to make a simulation (animation) of a transmission line with characteristic impedance of 50 ohm, finished in a complex charge and iniciated with a generator also in complex charge and obtain the standing wave pattern. I already make a code of this animation, but it's only for finished real charge and real generator charge. The problem is: ¿how do I make it also with complex charges? I put the ZIP achieve with the program that I already done. I think its a very complex code, but if anyone could help me only to obtain the stainding wave pattern I´ll be grateful.
Final Proyect.zip