I need a program that writes the first column of the matrix. The numbers in this column follow the pattern below:
1. Numbers start at 1 and count up to ''nels'' in increments of 1.
2. When the counter = nels it jumps to ((2*nels)+3)
3. The counter continues to count in increments of 1 for number of times=nels
4. The counter then adds 2
5. Step 3 and 4 repeat
6. This continues until the counter stops at ((5*nels)+4)
If anyone could help me formulate this bit of code, that would be fantastic!