How to run 4 loops simutaneously?

In my code there are 4 matrix to fill. So there are 4 "for...end". They are independent by each other. Now I want to do some acceleration. How to run there 4 loops simultaneously?

 Respuesta aceptada

Walter Roberson
Walter Roberson el 12 de Jun. de 2015

0 votos

If you have the Parallel Computing Toolbox, there is "parfor" and "spmd" and distributed arrays.

Más respuestas (0)

Categorías

Más información sobre Loops and Conditional Statements en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 12 de Jun. de 2015

Respondida:

el 12 de Jun. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by