chebyhfilt.m
来自「使用Matlab实现了FIR与IIR滤波器」· M 代码 · 共 22 行
M
22 行
function [ output_args ] = Untitled2( input_args )%UNTITLED2 Summary of this function goes here% Detailed explanation goes here[y,ft,bits]=wavread('hello.wav');subplot(2,1,1);plot(y);xlabel('Time Index t');ylabel('Amplitude');title('原始时域图象');Wp =2*5000/ft;Ws = 2*4800/ft;Rp = 1;Rs = 100;[N,Wn] = cheb1ord(Wp,Ws,Rp,Rs);[b,a] = cheby1(N,Rp,Wn,'high');v=filter(b,a,y);subplot(2,1,2);plot(v);xlabel('Time Index t');ylabel('Amplitude');title('CHEBY高通滤波时域图象');sound(v,ft,bits);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?