optimize time calculations program

조회 수: 2 (최근 30일)
tilfani oussama
tilfani oussama 2018년 3월 6일
댓글: Steven Lord 2018년 3월 6일
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에서 Problem-Based Optimization Setup에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by