It would be great if, for questions where the answer is a matrix, the student can get a mark for each element they get correct.
I can already do this with the code:
good:=nops(M intersect N);
bad:=nops(M minus N);
But this accepts the numbers in the matrix in any order. Is there a way to fix the arrangement of the matrix answer?