Well, if you're willing to step up to a three dimensional array, it's quite simple.
However, if you are dead set on using a 2-d arrray, you could store the string "2,3.6" as the value of matrix[j] and when you needed the two variables extracted, just run it through an implode(",",$matrix[j]) or strtok($matrix[j], ",") or something.
-Ben