MATLAB Answers

0

Find two ways to create a 3 x 5 matrix with all values equal to 100 (Hint: use ones and zeros).

Asked by Jonathan Mendoza on 15 Sep 2019
Latest activity Commented on by Walter Roberson
on 21 Sep 2019
I am currentlhy having trouble on this question, ive been trying to figure this out for more than 2 hrs. I need help.

  0 Comments

Sign in to comment.

1 Answer

Answer by Bruno Luong
on 21 Sep 2019

(Not sure why an answered has been deleted)
Method 1
100 + zeros(3,5)
Method 2
100 * ones(3,5)

  1 Comment

Sign in to comment.