Documentation for h2nuh (SPASS).

Conversion of a uniform transfer function to a non uniform transfer function


Description

The function h2nuh converts a uniform transfer function into a non uniform transfer function for use in non uniform FIR filtering.

Usage

nuh = h2nuh(h)

Arguments

h Uniform transfer function. Uniform signal.

Values

nuh Non uniform transfer function. Non Uniform signal.

See Also

Example

% Creation of a uniform filter

fc = 4;          % cut frequency
order = 2;       % filter order  
nyq = 8;         % half sampling rate = nyquist frequency
fn = fc/nyq;     % normalized cut-off frequency

h = fir1(order,fn);
uh = uinit(h,1/nyq);
nuh = h2nuh(uh);