Integer interval.

Namespace: dsp

Prototype

static Veci irange(int a, int b)

Returns

Vector of the \(b-a+1\) integers between \(a\) and \(b\): \[ x_k = a + k,\quad k = 0,\dots,(b-a+1) \]

Description

See also

linspace(), trange()