Find two ways to create a 3 x 5 matrix with all values equal to 100 (Hint: use ones and zeros).
조회 수: 2 (최근 30일)
이전 댓글 표시
I am currentlhy having trouble on this question, ive been trying to figure this out for more than 2 hrs. I need help.
댓글 수: 0
답변 (1개)
Bruno Luong
2019년 9월 21일
(Not sure why an answered has been deleted)
Method 1
100 + zeros(3,5)
Method 2
100 * ones(3,5)
참고 항목
카테고리
Help Center 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!