FUNCTION REFERENCE

stepz

Step response of a digital filter.

Step response of a digital filter.

Syntax

[s, t] = stepz(b, a)

Syntax

[s, t] = stepz(b, a, n)

Syntax

[s, t] = stepz(b, a, n, fs)

Syntax

[s, t] = stepz(sos, n)

Syntax

[s, t] = stepz(d)

The cumulative sum of the impulse response, with the same lengths and times as impz. A bare call plots it.

Example

s = stepz([1 1], 1, 6)   % [1; 2; 2; 2; 2; 2]

Example

[s, t] = stepz(1, [1 -0.5], 4, 100);   % t = [0; 0.01; 0.02; 0.03]

Differences from MATLAB: n must be a count, not a vector of sample indices.

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