Main Content

fdesign.isinchp

逆SINC高通滤波器规范

句法

d=fdesign.isinchp
d = fdesign.isinchp(Spec)
d=fdesign.isinchp((SPEC,specvalue1,specvalue2,...)
d = fdesign.isinchp(SpecValue1,Specvalue2,Specvalue3,Specvalue4)
d = fdesign.isinchp(...,fs)
d = fdesign.isinchp(...,魔法)

描述

d=fdesign.isinchpConstructs an inverse sinc highpass filter specification objectd、应用默认值for the default specification'Fst,Fp,Ast,Ap'

d = fdesign.isinchp(Spec)构造对象d并设置规格财产为SPEC。条目SPEC表示控制过滤器设计的各种滤波器响应特征,例如过滤器。有效的条目SPECare shown below. The entries are not case sensitive.

  • 'Fst,Fp,Ast,Ap'(默认spec

  • 'n,fc,ast,ap'

  • 'n,fst,fp'

  • 'n,fp,ast,ap'

  • 'n,fst,ast,ap'

The filter specifications are defined as follows:

  • ast- 在分贝的停止带(默认单元)中的衰减。也称为Astop。

  • AP— amount of ripple allowed in the passband in decibels (the default units). Also called Apass.

  • fp- 通带开始时的频率。在归一化频率单元中指定。也称为fpass。

  • FST- 停止带末端的频率。在归一化频率单元中指定。也称为FSTOP。

  • n- 过滤订单。

适用于逆SINC高通滤波器规范对象的滤波器设计方法,取决于规格财产。利用DesignMethods确定哪种设计方法适用于特定规格

利用DesignOpts查看特定设计方法的可用设计选项。进入帮助(D,方法)在Matlab®命令行以获取有关给定设计方法的设计选项的详细信息,METHOD

d=fdesign.isinchp((SPEC,specvalue1,specvalue2,...)Constructs an objectd并在施工时设置规格。

d = fdesign.isinchp(SpecValue1,Specvalue2,Specvalue3,Specvalue4)Constructs an objectd假设默认值规格财产'Fst,Fp,Ast,Ap',使用您提供的值SpecValue1,SpecValue2,Specvalue3和SpecValue4

d = fdesign.isinchp(...,fs)添加参数FS,以HZ指定以定义要使用的采样频率。在这种情况下,规格中的所有频率也在Hz中。

d = fdesign.isinchp(...,魔法)指定您在输入参数中提供的任何规范规范的单位。魔术可以是之一

  • “线性”- 在线性单元中指定大小

  • 'D b'- 指定DB(分贝)中的大小

  • “平方”- 指定功率单元的幅度

当你忽略魔术argument,fdesign假设所有幅度都在分贝中。注意fdesign无论您如何指定幅度如何,都将所有幅度的规格存储在分贝中(必要时转换为分贝)。

设计方法fdesign.isinchp实现具有一个通频幅度响应的过滤器等于:

H (( ω = s 一世 n C (( C (( 1 - ω - p

您可以控制SINC频率因子的值,C和SINC的力量,p, 使用“ sincfrequencencencentor'and“ sincpower'选项designmethod.“ sincfrequencencencentor'and“ sincpower'default to 0.5 and 1 respectively.

例子

全部收缩

设计一个最小级级式SINC高通滤波器,并塑造停止带的斜率为20 dB/radian/样品。

d = fdesign.isinchp('Fst,Fp,Ast,Ap',.4,.5,40.0.01);HD =设计(D,“系统对象”,真的);

Shape the stopband to have a linear slope of 20 dB/rad/sample

HD1 =设计(D,'StopbandShape',,,,“线性”,,,,“ stopbanddecay”,20,“系统对象”,,,,...真的);FVTool(HD,HD1);

图量响应(DB)包含一个轴对象。带有标题幅度响应(DB)的轴对象包含3个类型线的对象。

design a 50th order inverse sinc highpass filter. Set the sinc frequency factor to 0.25, and the sinc power to 16 to achieve a magnitude response in the passband of the form H(?) = sinc(0.25*(1-?))^(-16) .

d = fdesign.isinchp('n,fst,fp',50,.4,.5);HD =设计(D,“ sincfrequencencencentor',0.25,“ sincpower',16,...“系统对象”,真的);FVTool(HD);

图量响应(DB)包含一个轴对象。The axes object with title Magnitude Response (dB) contains 2 objects of type line.

版本历史记录

在R2011b中引入