What does zeros(2,3,4) mean?

what does zeros(2,3,4) mean?

2 Comments

How hard is it to type
zeros(2, 3, 4)
in the command window and observe the result?
Or read the zeros documentation?

Sign in to comment.

Answers (1)

James Tursa
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

Categories

Asked:

on 8 Apr 2019

Commented:

on 24 Sep 2020

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!