Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

kaiserord (MathScript Function) (Windows, Not in Base Package)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Member of the filter design class.

Syntax

[n, w, b, t] = kaiserord(f, a, d)

[n, w, b, t] = kaiserord(f, a, d, fs)

Description

Estimates the order of a Kaiser window.

Examples

Inputs

Name Description
f Specifies the band edge frequencies. The length of f is twice the length of a minus 2. f is a vector in ascending order between 0 and fs/2.
a Specifies the desired amplitude of the FIR filter. a is a vector of zeros and ones.
d Specifies the allowable ripples for each band. d is a vector. length(d) must equal length(a).
fs Specifies the sampling frequency. The default value is 2.

Outputs

Name Description
n Returns the approximate order.
w Returns the normalized frequency band edges.
b Returns the Kaiser window parameter, beta.
t Returns the type of the FIR filter.

Examples

f = [1500, 1700, 2000, 2100, 2300, 3000];
a = [1, 0, 1, 0];
d = [0.01, 0.1, 0.01, 0.1];
fs = 10000;
[n, w, b, t] = kaiserord(f, a, d, fs)

Related Topics

buttord
ellipord
kaiser


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit