I'm multiplying matrices and I don't get answer I want I just get matrix M times matrix N, there is no result.
What to do and what to fix in order to get result displayed?
M = {{1, 3, 3}, {3, 4, 4}, {5, 5, 5}} // MatrixForm
P = {{1, 2, 6}, {3, 6, 4}, {5, 9, 5}} // MatrixForm
M.P




Dot(short form.) will solve your problem if you have actual matrix data. The data might potentially need to be transposed. Also you can/should not useNas a variable as it is already a defined System function. – Mr.Wizard Oct 23 '14 at 20:11MatrixForm. See, detail is important. :-) I am closing this question as a duplicate. (A link will be inserted at the top of your post.) See the answers there fore a full explanation. – Mr.Wizard Oct 23 '14 at 20:28