Split a matrix on parallel computing with spmd
2 views (last 30 days)
Show older comments
As I can split a vector 4x18 in four workers each with a 1x18 table, selecting the vector for each worker in parallel computing with spmd.
2 Comments
Accepted Answer
Edric Ellis
on 30 Jan 2014
spmd
d = codistributed(rand(4, 18), codistributor1d(1))
end
will result in each worker storing a 1x18 portion of d.
0 Comments
More Answers (1)
See Also
Categories
Find more on MATLAB Parallel Server in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!