MATLAB Answers

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

25 views (last 30 days)
Fariha Sneha
Fariha Sneha on 8 Apr 2019
Commented: Guillaume on 8 Apr 2019
what does zeros(2,3,4) mean?

  1 Comment

Guillaume
Guillaume on 8 Apr 2019
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

  0 Comments

Sign in to comment.

Sign in to answer this question.