Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.


Math Forum
»
Discussions
»
Software
»
comp.softsys.matlab
Notice: We are no longer accepting new posts, but the forums will continue to be readable.
Topic:
manual algorithm for matrix multiplication [3X2]*[2X3]
Replies:
3
Last Post:
Sep 29, 2012 3:54 PM



Matt
Posts:
10
Registered:
9/17/12


manual algorithm for matrix multiplication [3X2]*[2X3]
Posted:
Sep 28, 2012 4:49 PM


Having trouble coming up with a code that multiplies two matrices together. I can't just use matlab to directly multiply then, I have to come up with a loop. I am not sure how to implement a loop but doing something like this sum(X(1,:).*Y(:,1)') gets the first element in the multiplied matrix correct.



