Time interval, with sampling frequency specified.

Namespace: dsp

Prototype

static Vecf trange(int n, float fs)

Parameters

nNumber of points
fsSampling frequency

Returns

Set of equidistant points : \[ x_k = \frac{k}{f_s},\quad k = 0,\dots,n-1 \]

Description

See also

linspace(), irange()