problem with parfor loop
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Is it possible to parfor this?
for iter=1:50
for i=1:100
x(:,i)= rand(3,1)
end
end
0 Kommentare
Akzeptierte Antwort
Matt J
am 2 Okt. 2013
Bearbeitet: Matt J
am 2 Okt. 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
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Parallel for-Loops (parfor) finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!