Borrar filtros
Borrar filtros

improvement of code performance

2 visualizaciones (últimos 30 días)
parham kianian
parham kianian el 8 de Abr. de 2020
Editada: parham kianian el 8 de Abr. de 2020
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));
But performance of code is very low and my laptop is going to explode.
Is there any trick to improve the code?

Respuestas (0)


Más información sobre Mathematics and Optimization en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by