Skip to content

Commit 300ed3c

Browse files
committed
readme3
1 parent d37769c commit 300ed3c

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,18 @@ fig
4141

4242
## Integration with Makie Utilities
4343

44-
This example showcases the seamless integration of the Smith chart with Makie.jl's interactive functionalities. It demonstrates a typical scenario used to teach impedance matching, where we aim to transform a source impedance of 1+2j to a load impedance of 1. To achieve this, we utilize a transmission line and a parallel stub, and control their lengths via sliders. By dynamically adjusting these lengths, users can observe how the source impedance seen by the load evolves on the Smith chart, visually illustrating the impedance matching process.
44+
This example showcases the seamless integration of the Smith chart with Makie.jl's interactive functionalities. It demonstrates a typical scenario used to teach impedance matching, where we aim to transform a source impedance of 50+100j $\Omega$ to a load impedance of 50 $\Omega$. To achieve this, we utilize a transmission line and a parallel stub, and control their lengths via sliders. By dynamically adjusting these lengths, users can observe how the source impedance seen by the load evolves on the Smith chart, visually illustrating the impedance matching process.
4545

4646
```julia
4747

4848
fig = Figure()
4949
ax = SmithAxis(fig[1, 1], title = "Stub Matching")
5050

51-
Ri = 1.0
52-
Xi = 2.0
51+
Zl = 50.0
52+
Ri = 50.0
53+
Xi = 100.0
5354
zi = Ri + Xi*im
55+
zi = zi / Zl
5456

5557
function simline(z, l)
5658
bl = 2 * pi * l # Electrical length

0 commit comments

Comments
 (0)