A basic matlab problem
이전 댓글 표시
Hello all,
If I want to create a matrix of for example 9.5 with a specific size i.e. [9.5 9.5 .... 9.5], what should I do?
댓글 수: 2
Ashok jat
2019년 5월 18일
x=ones(1,8);
y=9.5*x
Walter Roberson
2019년 5월 19일
This is the same as Fangjun Jiang's solution.
채택된 답변
추가 답변 (4개)
Bao Le
2019년 12월 5일
0 개 추천
x = 9.5.*ones(2,5)
댓글 수: 1
Walter Roberson
2019년 12월 5일
This is the same as earlier solutions.
Alejandro Ayala
2019년 12월 5일
0 개 추천
x = 9.5.*ones(2,5)
댓글 수: 1
Walter Roberson
2019년 12월 5일
This is the same as earlier solutions.
카테고리
도움말 센터 및 File Exchange에서 Logical에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!