Originally Posted by
Malcolm McLean
Matrices can be hard to understand. It's easier when you think of them as something concrete rather than an abstract "matrix". When I'm teaching matrices, I use football as an example. Say you've got four teams, three competitions, and results for those three competions (ranks). Which team is best? Well we'd rank the league cup above the FA cup, and the Champion's league top of all. So that gives us three weights, say two for the FA cup, five for the league, eight for the Chamipon's league So you can see naturally how we obtain a final score for each team.
But what weights to use? I ask two or three people around the class for their weights. That gives me a 3xN matrix of weights. Then we've got matrix to matrix multiplication.
The code to multiply two matrices in C is in fact extremely easy to write. The problem is wholly in understandign what you are doing.