can someone please explain what is lag in matlab built in function xcov ? Thanks

5 次查看(过去 30 天)
please see above, thanks

回答(1 个)

Prajit T R
Prajit T R 2018-3-1
[c,lags] = xcov(x,y,maxlags) where x and y are length m vectors, returns the cross-covariance sequence in a length 2*maxlags+1 vector c. lags is a vector of the lag indices where c was estimated, that is, [-maxlags:maxlags]. These indices can be useful when you wish to plot the covariance estimates. For example: stem(lags,c)

类别

Help CenterFile Exchange 中查找有关 Descriptive Statistics 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by