FUNCTION REFERENCE

phasedelay

Phase delay of a digital filter, in samples.

Phase delay of a digital filter, in samples.

Syntax

[phi, w] = phasedelay(b, a)

Syntax

[phi, w] = phasedelay(b, a, n)

Syntax

[phi, f] = phasedelay(b, a, n, fs)

Syntax

[phi, w] = phasedelay(sos, n)

Phase delay is -phase(w)/w at n points (default 512) on [0, pi); the value at w = 0 is the group delay there. A bare call plots it.

Example

[phi, w] = phasedelay([1 2 3 4 5], 1, 8);   % linear phase: phi = 2 everywhere

Differences from MATLAB: the digitalFilter form is not supported.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.