What does zeros(2,3,4) mean?
9 views (last 30 days)
Show older comments
what does zeros(2,3,4) mean?
2 Comments
Guillaume
on 8 Apr 2019
How hard is it to type
zeros(2, 3, 4)
in the command window and observe the result?
Answers (1)
James Tursa
on 8 Apr 2019
Edited: James Tursa
on 8 Apr 2019
It creates a double array of dimensions 2 x 3 x 4 filled with 0's.
doc zeros
0 Comments
See Also
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!