Question: what is adftest in matlab?
Answer: h = adftest( Y ) returns a logical value with the rejection decision from conducting an augmented Dickey-Fuller test for a unit root in a univariate time series, Y .