
Dal J. answered 11/16/14
Tutor
4.9
(64)
Expert Instructor in Complex Subjects and Public Speaking
Not sure what exactly is going on here - This seems to be loading an array called "Time" with values for a particular year and month of 2011. The number 744 is 31 days times 24 hours per day. It seems to be loading a fixed hour [0:1:23] into every hour slot of that time, though. There probably should be another loop inside the k1 loop, setting up each hour of the 24-hour cycle, if this thing is to make any sense.
If I were in your math lab, I would ask for an English description of exactly what you are trying to do, and why you are using a matrix for it. What value is this matrix method providing to your program or system?
In other words, what is your output supposed to be for what input?