MATLAB Answers


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

Asked by Fariha Sneha on 8 Apr 2019
Latest activity Commented on by Guillaume
on 8 Apr 2019
what does zeros(2,3,4) mean?

  1 Comment

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.

1 Answer

Answer by James Tursa
on 8 Apr 2019
Edited by James Tursa
on 8 Apr 2019

It creates a double array of dimensions 2 x 3 x 4 filled with 0's.
doc zeros


Sign in to comment.