File:Electronic linear filters.svg

原始文件(SVG文件,尺寸为1,200 × 960像素,文件大小:32 KB)


摘要

描述

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.
日期
来源 自己的作品
作者 Alessio Damato
SVG开发
InfoField
W3C grn 
SVG的源代码为有效代码
Gnuplot val 
矢量图使用Gnuplot创作。
OOjs UI icon language-constructive 
 此SVG 文件使用了内嵌文本,可以使用任何文本编辑器轻松翻译
源代码
InfoField

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


本文件已被Filters order5.svg取代。建议您使用其他文件。请注意,删除被取代的图片需要达成一致

使用其他文件的理由:“The plotlines of this file are jagged. New version with clean plotlines is available.”
new file

Matlab source code

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 Gnuplot

许可协议

我,本作品著作权人,特此采用以下许可协议发表本作品:
GNU head 已授权您依据自由软件基金会发行的无固定段落及封面封底文字(Invariant Sections, Front-Cover Texts, and Back-Cover Texts)的GNU自由文件许可协议1.2版或任意后续版本的条款,复制、传播和/或修改本文件。该协议的副本请见“GNU Free Documentation License”。
w:zh:知识共享
署名 相同方式共享
本文件采用知识共享署名-相同方式共享 3.0 未本地化版本许可协议授权。
您可以自由地:
  • 共享 – 复制、发行并传播本作品
  • 修改 – 改编作品
惟须遵守下列条件:
  • 署名 – 您必须对作品进行署名,提供授权条款的链接,并说明是否对原始内容进行了更改。您可以用任何合理的方式来署名,但不得以任何方式表明许可人认可您或您的使用。
  • 相同方式共享 – 如果您再混合、转换或者基于本作品进行创作,您必须以与原先许可协议相同或相兼容的许可协议分发您贡献的作品。
本许可协议标签作为GFDL许可协议更新的组成部分被添加至本文件。
w:zh:知识共享
署名 相同方式共享
本文件采用知识共享署名-相同方式共享2.5 通用2.0 通用1.0 通用许可协议授权。
您可以自由地:
  • 共享 – 复制、发行并传播本作品
  • 修改 – 改编作品
惟须遵守下列条件:
  • 署名 – 您必须对作品进行署名,提供授权条款的链接,并说明是否对原始内容进行了更改。您可以用任何合理的方式来署名,但不得以任何方式表明许可人认可您或您的使用。
  • 相同方式共享 – 如果您再混合、转换或者基于本作品进行创作,您必须以与原先许可协议相同或相兼容的许可协议分发您贡献的作品。
您可以选择您需要的许可协议。

说明

添加一行文字以描述该文件所表现的内容

此文件中描述的项目

描繪內容

文件历史

点击某个日期/时间查看对应时刻的文件。

日期/时间缩⁠略⁠图大小用户备注
当前2012年10月18日 (四) 14:302012年10月18日 (四) 14:30版本的缩略图1,200 × 960(32 KB)SpinningsparkFix broken rendering by resaving from Inkscape
2006年4月26日 (三) 19:16没有缩略图0 × 0(24 KB)Alejo2083thicker lines (final version??)
2006年4月26日 (三) 19:052006年4月26日 (三) 19:05版本的缩略图1,200 × 960(24 KB)Alejo2083right width/height ratio
2006年4月26日 (三) 18:242006年4月26日 (三) 18:24版本的缩略图1,200 × 1,200(24 KB)Alejo2083bigger version
2005年11月19日 (六) 14:092005年11月19日 (六) 14:09版本的缩略图600 × 480(21 KB)Alejo2083 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

全域文件用途

以下其他wiki使用此文件:

元数据