problem with parfor loop
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Is it possible to parfor this?
for iter=1:50
for i=1:100
x(:,i)= rand(3,1)
end
end
0 commentaires
Réponse acceptée
Matt J
le 2 Oct 2013
Modifié(e) : Matt J
le 2 Oct 2013
Sure, especially since the outer loop is not doing anything and can be abandoned.
parfor i=1:100
x(:,i)= rand(3,1)
end
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Parallel for-Loops (parfor) dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!