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

0 Stimmen

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

Weitere Antworten (0)

Kategorien

Mehr zu Loops and Conditional Statements finden Sie in Hilfe-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