By : Ahmed Khaled Fathy
Super Visors
Dr . Nur ad-Din M. Salem
Eng . Ehab
This project analyzes the voltage and current distributions along an open-circuit transmission line using MATLAB. It visualizes these distributions for both length (l) and phase (βl) parameters.
The project focuses on plotting the voltage and current distributions for an open-circuit transmission line. It uses the following equations:
- Voltage Distribution: |V(l)| = |2V₀⁺| * |cos(βl)|
- Current Distribution: |I(l)| = |(2V₀⁺)/Z₀| * |sin(βl)|
Where:
- V₀⁺ is the amplitude of the incident voltage wave
- Z₀ is the characteristic impedance of the line
- β is the phase constant
- l is the distance along the line
The project includes two MATLAB scripts:
Assiment1.m
: Plots separate graphs for voltage and current distributions.bothV-I.m
: Plots voltage and current distributions on the same graph for comparison.
Note: To use the combined plot functionality, replace the figure code in
Assiment1.m
with the code frombothV-I.m
.
This graph shows the current distribution along the O.C.T.L for both l and βl. The current reaches its maximum at λ/4 and 3λ/4 (or π/2 and 3π/2 in terms of βl), and drops to zero at the open end (λ or 2π) and at λ/2 (or π).
This graph illustrates the voltage distribution along the O.C.T.L for both l and βl. The voltage is maximum at the open end (λ or 2π) and at λ/2 (or π), and minimum at λ/4 and 3λ/4 (or π/2 and 3π/2 in terms of βl).
This graph shows both voltage and current distributions on the same plot for easy comparison.
- Ensure you have MATLAB installed on your system.
- Clone this repository or download the MATLAB scripts.
- Open MATLAB and navigate to the directory containing the scripts.
- Run
Assiment1.m
for separate plots or modify it with the code frombothV-I.m
for combined plots. - The resulting graphs will be displayed in MATLAB figure windows.
For a more detailed explanation of the project, including the theoretical background and additional visualizations, please refer to the assignment1.pdf
document included in this repository.