MATLAB PARALLEL COMPUTING TOOLBOX - S User's Guide Page 412

  • Download
  • Add to my manuals
  • Print
  • Page
    / 656
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 411
11 Functions — Alphabetical List
11-68
D1 = distributed(magic(Nsmall));
Create a large distributed array directly, using a build method:
Nlarge = 1000;
D2 = rand(Nlarge,'distributed');
Retrieve elements of a distributed array, and note where the arrays are located by their
Class:
D3 = gather(D2);
whos
Name Size Bytes Class
D1 50x50 733 distributed
D2 1000x1000 733 distributed
D3 1000x1000 8000000 double
Nlarge 1x1 8 double
Nsmall 1x1 8 double
See Also
codistributed | gather | parpool
Page view 411
1 2 ... 407 408 409 410 411 412 413 414 415 416 417 ... 655 656

Comments to this Manuals

No comments