| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Parallel Computing Toolbox |
| Contents | Index |
| Learn more about Parallel Computing Toolbox |
D = distributed.zeros(n)
D = distributed.zeros(m, n, ...)
D
= distributed.zeros([m, n, ...])
D = distributed.zeros(..., classname)
D = distributed.zeros(n) creates an n-by-n codistributed matrix of zeros of class double.
D = distributed.zeros(m, n, ...) or D = distributed.zeros([m, n, ...]) creates an m-by-n-by-... distributed array of zeros.
D = distributed.zeros(..., classname) specifies the class of the distributed array D. Valid choices are the same as for the regular zeros function: 'double' (the default), 'single', 'int8', 'uint8', 'int16', 'uint16', 'int32', 'uint32', 'int64', and 'uint64'.
Create a 1000-by-1000 distributed matrix of zeros using default class:
D = distributed.zeros(1000);
zeros MATLAB function reference page
codistributed.zeros, distributed.eye, distributed.ones
![]() | distributed.true | exist | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |