フィルターのクリア

Creating Notch Filters Cheby1 and Butterworth

2 ビュー (過去 30 日間)
Terry Carney
Terry Carney 2021 年 5 月 14 日
回答済み: Terry Carney 2021 年 5 月 15 日
I'm trying to create both a Chebychev Type 1 and Butterworth Notch filter. The filters have to produce a min attenuation of 60dB at 10Hz, with a rippe of .01dB. However, my output does not look like a typical notch filter after filtering, using cheby1 for example. What am I doing wrong?
clear;close all;
%Setting up signal:
fs = 200; %Sample Frequency
Ts = 1/fs; %Sample Period
t = 0:Ts:9.9950;
x = load("data2.txt");
plot(t,x);
b = cheby1(2,.01,.1)
x2 = filtfilt(b,1,x)
fvtool(b,1)
figure(1)
plot(t,x2)

採用された回答

Terry Carney
Terry Carney 2021 年 5 月 15 日
I figured it out... :)

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDigital Filter Analysis についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by