Main Content

delayest

Estimate time delay (dead time) from data

Syntax

nk = delayest(Data)
nk = delayest(Data,na,nb,nkmin,nkmax,maxtest)

Description

nk = delayest(Data)estimates time delay from data.Datais aniddataobject containing the input-output data. It can also be anidfrdobject defining frequency-response data. Only single-output data can be handled.nkis returned as an integer or a row vector of integers, containing the estimated time delay in samples from the input(s) to the output inData.

The estimate is based on a comparison of ARX models with different delays:

y ( t ) + a 1 y ( t 1 ) + ... + a n a y ( t n a ) = b 1 u ( t n k ) + ... + b n b u ( t n b n k + 1 ) + e ( t )

nk = delayest(Data,na,nb,nkmin,nkmax,maxtest)specifies additional options. The integernais the order of the A polynomial (default 2).nbis a row vector of length equal to the number of inputs, containing the order(s) of the B polynomial(s) (default all 2).nkminandnkmax长度相同的行向量的号码啊f inputs, containing the smallest and largest delays to be tested. Defaults arenkmin = 0andnkmax = nkmin+20. Ifnb,nkmax, and/ornkminare entered as scalars in the multiple-input case, all inputs will be assigned the same values.maxtestis the largest number of tests allowed (default 10,000).

Introduced before R2006a