Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: manual algorithm for matrix multiplication [3X2]*[2X3]
Replies: 3   Last Post: Sep 29, 2012 3:54 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Matt

Posts: 10
Registered: 9/17/12
manual algorithm for matrix multiplication [3X2]*[2X3]
Posted: Sep 28, 2012 4:49 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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.



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.