How to run 4 loops simutaneously?

2 visualizaciones (últimos 30 días)
Joe kiao
Joe kiao el 12 de Jun. de 2015
Respondida: Walter Roberson el 12 de Jun. de 2015
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
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 Creating and Concatenating Matrices en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by