File:Electronic linear filters.svg

From Wikimedia Commons, the free media repository

Jump to: navigation, search

Electronic_linear_filters.svg(SVG file, nominally 1,200 × 960 pixels, file size: 24 KB)

[edit] Summary

Description

This picture shows the frequency response of all the classic electronic filters. They can be both analog or digital: the output is the same. The first one is the Butterworth filter, that is the smoothest one but it has no ripples. The last one is the Elliptic filter: it is the sharpest one but it shows ripples in both the pass-band and the stop-band. The two Chebyshev filter in the middle have an average behavior, being quite sharp with ripples in part of the spectrum. All the plots have been obtained using the same parameters and the same number of coefficients, thus showing only the properties of the different filters.

In order to make it, first I created a file called electronic_filters.dat with the following Matlab code:


% order of the filters
N = 5;
% cut-off normalized frequency
band = 0.5;
% ripple in the pass-band (dB)
Rpass = 0.5;
% ripple in the stop-band (dB)
Rstop = 20;

w = 0:pi/255:pi;

[num, den] = butter(N, band, 'low');
butterfilter = abs(freqz(num, den ,w));

[num, den] = cheby1(N, Rpass, band);
cheby1filter = abs(freqz(num, den ,w));

[num, den] = cheby2(N, Rstop, band);
cheby2filter = abs(freqz(num, den ,w));

[num, den] = ellip(N, Rpass, Rstop, band);
ellipfilter = abs(freqz(num, den ,w));

F = [w/pi ; butterfilter; cheby1filter; cheby2filter; ellipfilter];
F = F';

save -ascii 'electronic_filters.dat' F;

then I created the plot with the following Gnuplot code:


# set the output
set terminal svg enhanced size 1200 960 fname "Times" fsize 25
set output "Electronic_linear_filters.svg"

# axis properties
set xrange [0:1]
set yrange [0:1.1]
set xtics axis
set xtics axis
set key off

# Set up a four-pane multiplot
set size 1,1
set origin 0,0
set multiplot

set title "Butterworth"
set size 0.5,0.5
set origin 0,0.53
plot "electronic_filters.dat" using 1:2 with lines linewidth 3

set title "Chebyshev type 1"
set size 0.5,0.5
set origin 0.5,0.53
plot "electronic_filters.dat" using 1:3 with lines linewidth 3

set title "Chebyshev type 2"
set size 0.5,0.5
set origin 0,0.03
plot "electronic_filters.dat" using 1:4 with lines linewidth 3

set title "Elliptic"
set size 0.5,0.5
set origin 0.5,0.03
plot "electronic_filters.dat" using 1:5 with lines linewidth 3

Date

April 2006(2006-04)

Source

own work

LissajousCurve3by2.svg

This vector image was created with gnuplot.

Author

Alessio Damato

Permission
(Reusing this image)

see below

[edit] Licensing

I, the copyright holder of this work, hereby publish it under the following licenses:
GNU head 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".

Afrikaans | Alemannisch | Aragonés | العربية | Asturianu | Беларуская | Беларуская (тарашкевіца) | Български | বাংলা | ইমার ঠার/বিষ্ণুপ্রিয়া মণিপুরী | Brezhoneg | Bosanski | Català | Cebuano | Česky | Dansk | Deutsch | Ελληνικά | English | Esperanto | Español | Eesti | Euskara | فارسی | Suomi | Français | Gaeilge | Galego | עברית | Hrvatski | Magyar | Հայերեն | Bahasa Indonesia | Ido | Íslenska | Italiano | 日本語 | ქართული | ភាសាខ្មែរ | 한국어 | Kurdî / كوردی | Latina | Lëtzebuergesch | Lietuvių | 文言 | Македонски | Bahasa Melayu | Malti | Nnapulitano | Plattdüütsch | Nederlands | ‪Norsk (nynorsk)‬ | ‪Norsk (bokmål)‬ | Occitan | Polski | Português | Română | Русский | Slovenčina | Slovenščina | Shqip | Српски / Srpski | Svenska | Kiswahili | తెలుగు | ไทย | Tagalog | Türkçe | Українська | اردو | Vèneto | Tiếng Việt | Volapük | Yorùbá | 中文 | ‪中文(简体)‬ | ‪中文(繁體)‬ | +/−

Creative Commons license
Creative Commons Attribution Creative Commons Share Alike
This file is licensed under the Creative Commons Attribution ShareAlike 3.0 License. In short: you are free to share and make derivative works of the file under the conditions that you appropriately attribute it, and that you distribute it only under a license identical to this one. Official license

This licensing tag was added to this file as part of the GFDL licensing update.


Alemannisch | Català | Česky | Deutsch | Deutsch (Sie-Form) | Ελληνικά | English | Español | Eesti | Suomi | Français | Հայերեն | Hrvatski | Italiano | 한국어 | Lietuvių | Македонски | Polski | Português | Português do Brasil | Русский | Svenska | ไทย | Vèneto | Tiếng Việt | +/−

Creative Commons license
Creative Commons Attribution Creative Commons Share Alike
This file is licensed under the Creative Commons Attribution ShareAlike 2.5, Attribution ShareAlike 2.0 and Attribution ShareAlike 1.0 License. In short: you are free to share and make derivative works of the file under the conditions that you appropriately attribute it, and that you distribute it only under a license identical to this one.

العربية | Български | Català | Česky | Dansk | Deutsch | Ελληνικά | English | Español | Eesti | Euskara | فارسی | Suomi | Français | Galego | עברית | Hrvatski | Հայերեն | Italiano | 日本語 | 한국어 | Lietuvių | Македонски | Plattdüütsch | Nederlands | Polski | Português | Română | Русский | Српски / Srpski | Svenska | தமிழ் | తెలుగు | ไทย | Türkçe | Vèneto | Tiếng Việt | 中文 | ‪中文(简体)‬ | ‪中文(繁體)‬ | +/−

You may select the license of your choice.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current19:16, 26 April 2006Thumbnail for version as of 19:16, 26 April 20061,200×960 (24 KB)Alejo2083 (Talk | contribs) (thicker lines (final version??))
19:05, 26 April 2006Thumbnail for version as of 19:05, 26 April 20061,200×960 (24 KB)Alejo2083 (Talk | contribs) (right width/height ratio)
18:24, 26 April 2006Thumbnail for version as of 18:24, 26 April 20061,200×1,200 (24 KB)Alejo2083 (Talk | contribs) (bigger version)
14:09, 19 November 2005Thumbnail for version as of 14:09, 19 November 2005600×480 (21 KB)Alejo2083 (Talk | contribs) ( This picture shows the frequency response of all the classic electronic filters. They can be both analog or digital: the output is the same. The first one is the Butterworth filter, that is the smoothest one but it has no rip)

The following 2 pages link to this file:

Global file usage

The following other wikis use this file: