Date: Feb 2, 2013 4:28 AM
Author: Bruno Luong
Subject: Re: Matrix Multipication

"Hung Lu" wrote in message <kei9ao$f26$1@newscl01ah.mathworks.com>...
> Hello,
>
> Does anything know how I can multiple an A=[MxN] matrix with a B=[1xK] vector to get a [MxNxK] matrix without using loop?
>
>


reshape(A(:)*B,[M N K])

% Bruno