How to run 4 loops simutaneously?

2 vues (au cours des 30 derniers jours)
Joe kiao
Joe kiao le 12 Juin 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?

Réponse acceptée

Walter Roberson
Walter Roberson le 12 Juin 2015
If you have the Parallel Computing Toolbox, there is "parfor" and "spmd" and distributed arrays.

Plus de réponses (0)

Catégories

En savoir plus sur Creating and Concatenating Matrices dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by