Design of A Matlab-based chbihov analog filter

Source: Internet
Author: User

Chbihov analog filter
The given technical indicators are:
It is known that the cut-off frequency of the band is fp = 5 kHz, the maximum attenuation of the band is Delta C <= dB, the cut-off frequency of the band is FS = 12 kHz, and the minimum attenuation of the band is Delta Z> = 30db,
Based on the above technical indicators, the design and implementation of the kV 1 low-pass filter are as follows.
WP = 5000*2 * PI;
Ws = 12000*2 * PI;
Rp = 2;
Rs = 30;
[N, Wn] = cheb1ord (WP, WS, RP, RS, 's'); % calculate the order and cut-off frequency
C = wn/(2 * PI );
[B, A] = cheby1 (n, RP, Wn,'s); % returns the coefficient of the passed function.
[Z, P, K] = cheby1 (n, RP, Wn, 's'); % obtains the zero pole and gain of the filter.
W = linspace (1, 30000,100 0) * 2 * PI;
H = freqs (B, A, W); % calculate the frequency response of the system on the specified frequency point vector W H
Magh = ABS (h );
Phah = unwrap (angle (h ));
Plot (W/(2 * PI), 20 * log10 (magh ));
Title ('amplitude-frequency characteristics of the slbixuefu I low-pass filter ');
Xlabel ('frequency/Hz ');
Ylabel ('amplitude/B ');

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.