📄 butterd.m
字号:
% IIR BUTTERWORTH FILTER DESIGN
%
% [N,D] = BUTTERD(order,passedge)
% It combines the function "BUTTER" and
% "freqplot". Order is the IIR filter
% numeritor polynomial order. Passedge is
% the cut-off frequency, its value must
% be between 0 < passedge < 1.0, with 1.0
% corresponding to half the sample rate.
%
function [n,d] = butterd(order,passedge)
[n,d] = butter(order,passedge);
n = n(:);
d = d(:);
freqplot(n,d,'b');
xlabel('Log Amplitude')
title('Frequency Response');
% END
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -