I want to compare computation complexity of Yule-Walker Method and other algorithm.
At firtst, I write the 2 codes below,
1) Calculate elapsed time using 'tic toc' function
2) Calculate elapsed time using 'timeit' function
ff = @() ar(Test_Signal,N,'yw');
and results shows huge difference
Which result is correct? and how can I use this results with metric of computational complexity of algorithm?