<< Caf2tfr Ambiguity plane function (C - toolbox) Ctfrker >>

stftb >> stftb > Ambiguity plane function (C - toolbox) > Cambifunb

Cambifunb

Ambiguity function

Calling Sequence

[NAF,TAU,XI] = Cambifunb(X)
[NAF,TAU,XI] = Cambifunb(X, TAU)
[NAF,TAU,XI] = Cambifunb(X, TAU, N)

Parameters

X :

Real or complex signal of length Nx for which the AF should be computed

TAU :

Vector of lag values. It must contains regularily spaced integer values in [-Nx/2,Nx/2]. The default value is : -Nx/2:Nx/2.

N :

Number of frequency bins. It must be in the interval [1, Nx]. The default value is Nx.

NAF :

doppler-lag representation, with the doppler bins stored in the rows and the time-lags stored in the columns.

XI :

vector of doppler values.

Note:

The cross ambiguity function is not implemented yet

Examples

[AF,TAU,XI] = Cambifunb(hilbert(sin(2*%pi*0.25*(1:128)))+0.5*rand(1,128,'normal'),-63:64,128);
grayplot(XI,TAU,abs(AF)')
xlabel 'Time lag'
ylabel 'Frequency lag'

Authors


Report an issue
<< Caf2tfr Ambiguity plane function (C - toolbox) Ctfrker >>