How to run 4 loops simutaneously?

2 Ansichten (letzte 30 Tage)
Joe kiao
Joe kiao am 12 Jun. 2015
Beantwortet: Walter Roberson am 12 Jun. 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?

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Creating and Concatenating Matrices finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by