Skip to content

Small interactive tool for visualization of the effects of transfer function poles and zeros in the complex plane on the Bode Plot.

License

Notifications You must be signed in to change notification settings

milanofthe/Interactive_BodePlot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Interactive Bode Plot

Small interactive tool for visualization of the effects of transfer function poles and zeros in the complex plane on the Bode Plot. Uses pygame for GUI interface.

bode

Functionality

Place poles $p_k$ (red crosses) by leftclicking and zeros $z_k$ (blue circles) by rightclicking in the complex plane on the left. "R" resets the poles and zeros. The right side shows the bode plot (magnitude in dB and phase in deg) of the resulting system transfer function:

$$ H(j\omega) = \frac{(j\omega - z_0)(j\omega - z_1)\cdots(j\omega - z_m)}{(j\omega - p_0)(j\omega - p_1)\cdots(j\omega - p_n)} $$

Complex poles an zeros always appear in conjugate pairs. Hover and click over the poles/zeros to move them around. Poles and zeros that overlap, eliminate each other. Poles and zeros also snap to the axes.

Demo

Interactive_Bode_Demo.mp4

About

Small interactive tool for visualization of the effects of transfer function poles and zeros in the complex plane on the Bode Plot.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages