<< pi | Constructors functions |
R = zeros |
R = zeros(n) |
R = zeros(n, m) |
R = zeros(n, m, ..., z) |
R = zeros(n, m, ..., z, 'like', V) |
R = zeros(n, m, ..., z, classname) |
a variable
a variable
zeros returns a matrix made of zeros.
zeros(3, 2)
zeros(3, 1, 3, 'single')
A = single([3 3])
B = zeros(2, 4, 'like', A)
tic(); single(1) * zeros(1000); toc()
tic();zeros(1000, 'single'); toc()
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET