Please don't start a new discussion that duplicates your earlier question. There are already several comments and a few answers in that question.
optimize time calculations program
1 次查看(过去 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
回答(0 个)
另请参阅
类别
在 Help Center 和 File 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!