optimize time calculations program
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentar
Steven Lord
am 6 Mär. 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.
Antworten (0)
Siehe auch
Kategorien
Mehr zu Get Started with Optimization Toolbox finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!