Create array Arr with 5 rows and 4 columns with each element = 5

1 view (last 30 days)
how to do
  1 Comment
James Tursa
James Tursa on 26 Sep 2019
What have you done so far? What specific problems are you having with your code? Do you know how to create a matrix?

Sign in to comment.

Answers (1)

James Tursa
James Tursa on 26 Sep 2019
Edited: James Tursa on 26 Sep 2019
Hint:
doc zeros
doc ones
doc repelem
doc repmat

Community Treasure Hunt

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

Start Hunting!