filtResp2ndOrderQ

版本 1.0.0 (2.2 KB) 作者: Witold Waldman
Computes the complex frequency response function of a 2nd-order damped highpass, lowpass, or allpass filter function.
9.0 次下载
更新时间 2022/6/18

查看许可证

Syntax
h = filtResp2ndOrderQ(f,fc,Q,filtType)
h = filtResp2ndOrderQ(f,fc,Q)
filtRespHPQ(__)
filtRespHPQ()
Description
h = filtResp2ndOrderQ(f,fc,Q,filtType) returns the frequency response column vector computed at the frequencies supplied in f (in Hz). The filter resonance has a frequency of fc (in Hz), and its quality factor (bandwidth) parameter is Q. If Q is a vector of values, the frequency response is returned as a matrix of column vectors.
A highpass filter is specified by setting filtType to be one of the following:
{'H', 'HP', 'HIGHPASS', 'HIGH-PASS'}.
A lowpass filter is specified by setting filtType to be one of the following:
{'L', 'LP', 'LOWPASS', 'LOW-PASS'}.
An allpass filter is specified by setting filtType to be one of the following:
{'A', 'AP', 'ALLPASS', 'ALL-PASS'}.
If filtType is omitted or is empty ([]), then a highpass filter is the default choice.
filtResp2ndOrderQ(__) with no output argument plots the magnitude and phase response of the filter (its frequency response).
filtResp2ndOrderQ() with no input arguments plots the magnitude and phase response of an example second-order filter.

引用格式

Witold Waldman (2024). filtResp2ndOrderQ (https://www.mathworks.com/matlabcentral/fileexchange/113525-filtresp2ndorderq), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2022a
兼容任何版本
平台兼容性
Windows macOS Linux
标签 添加标签

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0