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: Matrix Multipication
Replies: 3   Last Post: Feb 2, 2013 8:28 AM

Advanced Search

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

Posts: 216
Registered: 3/13/10
Re: Matrix Multipication
Posted: Feb 2, 2013 3:59 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

r = rand(6, 5);
k = 1:4;
bsxfun( @times, r, reshape(k, [1, 1, numel(k)]) )

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

[Privacy Policy] [Terms of Use]

© The Math Forum 1994-2015. All Rights Reserved.