How to run 4 loops simutaneously?

2 ビュー (過去 30 日間)
Joe kiao
Joe kiao 2015 年 6 月 12 日
回答済み: Walter Roberson 2015 年 6 月 12 日
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?

採用された回答

Walter Roberson
Walter Roberson 2015 年 6 月 12 日
If you have the Parallel Computing Toolbox, there is "parfor" and "spmd" and distributed arrays.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCreating and Concatenating Matrices についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by