File:Electronic linear filters.svg
来自testwiki
跳转到导航
跳转到搜索
此SVG文件的PNG预览的大小:750 × 600像素。 其他分辨率:300 × 240像素 | 600 × 480像素 | 960 × 768像素 | 1,280 × 1,024像素 | 2,560 × 2,048像素 | 1,200 × 960像素。
原始文件 (SVG文件,尺寸为1,200 × 960像素,文件大小:32 KB)
本文件来自维基共享资源并可能被其他项目使用。 其文件描述页上的描述显示在下面。
摘要
| 描述Electronic linear filters.svg |
English: This picture shows the frequency response of all the classic electronic filters of 5th order.
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 | |
| 源代码 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.”
|
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
许可协议
我,本作品著作权人,特此采用以下许可协议发表本作品:
| 已授权您依据自由软件基金会发行的无固定段落及封面封底文字(Invariant Sections, Front-Cover Texts, and Back-Cover Texts)的GNU自由文件许可协议1.2版或任意后续版本的条款,复制、传播和/或修改本文件。该协议的副本请见“GNU Free Documentation License”。http://www.gnu.org/copyleft/fdl.htmlGFDLGNU Free Documentation Licensetruetrue |
| 本文件采用知识共享署名-相同方式共享 3.0 未本地化版本许可协议授权。 | ||
| ||
| 本许可协议标签作为GFDL许可协议更新的组成部分被添加至本文件。http://creativecommons.org/licenses/by-sa/3.0/CC BY-SA 3.0Creative Commons Attribution-Share Alike 3.0truetrue |
- 您可以自由地:
- 共享 – 复制、发行并传播本作品
- 修改 – 改编作品
- 惟须遵守下列条件:
- 署名 – 您必须对作品进行署名,提供授权条款的链接,并说明是否对原始内容进行了更改。您可以用任何合理的方式来署名,但不得以任何方式表明许可人认可您或您的使用。
- 相同方式共享 – 如果您再混合、转换或者基于本作品进行创作,您必须以与原先许可协议相同或相兼容的许可协议分发您贡献的作品。
您可以选择您需要的许可协议。
说明
添加一行文字以描述该文件所表现的内容
此文件中描述的项目
描繪內容
知识共享署名-相同方式共享2.5通用 简体中文(已转写)
知识共享署名-相同方式共享2.0通用 简体中文(已转写)
知识共享署名-相同方式共享1.0通用 简体中文(已转写)
GNU自由文档许可证1.2或更高版本 简体中文(已转写)
4月 2006
文件历史
点击某个日期/时间查看对应时刻的文件。
| 日期/时间 | 缩略图 | 大小 | 用户 | 备注 | |
|---|---|---|---|---|---|
| 当前 | 2012年10月18日 (四) 15:30 | 1,200 × 960(32 KB) | wikimediacommons>Spinningspark | Fix broken rendering by resaving from Inkscape |