Creating a simpsons rule matrix
显示 更早的评论
I want to create a matrix that repeats the numbers 4, 2 for 500 values but has a 1 in the 1st and last spot in each row
for 99 rows
ex: 1 4 2 4 2 4 2 4 ... 4 1
1 4 2 4 2 4 2 4 ... 4 1
1 4 2 4 2 4 2 4 ... 4 1
1 4 2 4 2 4 2 4 ... 4 1
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Linear Algebra 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!