File:Butterworth orders.svg
Summary
| Description |
English: Butterworth filter frequency response of several orders. Cutoff frequency is normalized to 1 rad/s. Gain is normalized to 0 dB in the passband.
Русский: Амплитудно-частотные характеристики фильтров Баттерворта разных порядков. Частота среза нормирована к 1 рад/с. Коэффициент передачи в полосе пропускания всех фильтров равен 1. |
| Date | |
| Source | Own work |
| Author | Cburnett |
| Other versions |
|
| SVG development | Category:Valid SVG created with Gnuplot#Butterworth%20orders.svg |
Licensing
Cburnett, the copyright holder of this work, hereby publishes it under the following licenses:
| Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License. |
| This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license. | ||
Attribution: | ||
| ||
| This licensing tag was added to this file as part of the GFDL licensing update. |
You may select the license of your choice.
Source code
set samples 1001
set terminal svg enhanced size 800 600 background rgb 'white'
set output "butterworth_orders.svg"
G(w,n) = 1 / (sqrt(1 + w**(2*n)))
dB(x) = 20 * log10(abs(x))
set grid linestyle 1 lt 1 lc rgb "#808080"
# Set x axis to logarithmic scale
set logscale x 10
# Set range of x and y axes
set xrange [0.01:100]
set yrange [-100:10]
# Create 10 x tick marks per decade
set xtics 10
set xlabel "Angular frequency (rad/s)"
set ylabel "Gain (dB)"
# Put legend in bottom left corner
set key at 0.1,-45
# Plot five orders of the filter
plot \
dB(G(x,1)) title "1st order", \
dB(G(x,2)) title "2nd order", \
dB(G(x,3)) title "3rd order", \
dB(G(x,4)) title "4th order", \
dB(G(x,5)) title "5th order"