butterd.m
来自「里面囊括了基于matlab滤波器设计的各种.m文件」· M 代码 · 共 24 行
M
24 行
% 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 + =
减小字号Ctrl + -
显示快捷键?