improvement of code performance

조회 수: 1 (최근 30일)
parham kianian
parham kianian 2020년 4월 8일
편집: parham kianian 2020년 4월 8일
I have to use "emd" function for 500 signals and 100 times for each of them. As a result I developed a code like below:
for ii = 1 : 500
for jj = 1 : 100
[output1, ouput2, output3] = emd(awgn(signal(:,ii),20));
end
end
But performance of code is very low and my laptop is going to explode.
Is there any trick to improve the code?

답변 (0개)

카테고리

Help CenterFile Exchange에서 Mathematics and Optimization에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by