optimize time calculations program

3 次查看(过去 30 天)
I have a program, composed on a function and a loop (function enclosed and loop below), which takes a lot fo time to be performed. Can someone help me to optimize calculations time, you find also enclosed the function profiling.
X is a vector column (1:4000)
n=length(X);
for j=1:n-499
[H(j, :), pValue(j, :), Lambda(j, :), Orders(j, :)] = chaostest(X(j :j+499)) ;
end
  1 个评论
Steven Lord
Steven Lord 2018-3-6
Please don't start a new discussion that duplicates your earlier question. There are already several comments and a few answers in that question.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with Optimization Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by