/transfer-function-bode-plotter

This is a simple transfer function bode plotter script, useful for engineering students.

Primary LanguageJupyter Notebook

Transfer-function-bode-plotter

It requires libraries: matplotlib and scipy

To install them, run:

pip install matplotlib scipy

The given tranfer function should be in expanded form.
num = coefficients of respective powers at numerator,
den = coefficients of respective powers at denomenator,
Go upto the power = 0


Example:

1.png

2.png

In the above equation,
num = [1,3]
den = [1,3,2,0]

magnitude-plot.png

phase-plot.png