Input a row vector such as x=1:10. Now we need to construct a matrix with L rows,of which every row vector is a copy of x.
Example
L = 5
The resulting answer is:
[1:10; 1:10; 1:10; 1:10; 1:10]
Replace NaNs with the number that appears to its left in the row.
1712 Solvers
614 Solvers
146 Solvers
237 Solvers
482 Solvers
Solution 386251
best one