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
Best Answer