Matrix Fill with same number sequence
显示 更早的评论
How can I fill a matrix with the same sequence of numbers?
I want a matrix in which the first row contains 20 and 30. this should then also be in the next five rows.
采纳的回答
更多回答(1 个)
Atsushi Ueno
2021-4-20
repelem(20:30,6,1)
类别
在 帮助中心 和 File Exchange 中查找有关 Develop Apps Using App Designer 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!