optimize time calculations program

1 view (last 30 days)
tilfani oussama
tilfani oussama on 6 Mar 2018
Commented: Steven Lord on 6 Mar 2018
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 Comment
Steven Lord
Steven Lord on 6 Mar 2018
Please don't start a new discussion that duplicates your earlier question. There are already several comments and a few answers in that question.

Sign in to comment.

Answers (0)

Categories

Find more on Get Started with Optimization Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!