Date: Jan 6, 2013 3:32 AM
Author: Bruno Luong
Subject: Re: three 3D matrix multiplication
"Jeyakumar " <firstname.lastname@example.org> wrote in message <email@example.com>...
> hi ,
> my problem is that i have 3 3D matrices A(4,1,1), B(1,4,1) and C(1,1,4) respectively. i wanna perform matrix multiplication i.e A*B*C such that the resulting matrix shud be of dimension
> 4-by-4-by-4 i.e 4x4x4 cube.
This is NOT matrix-multiplication. This operation is called tensor product.
bsxfun(@times, bsxfun(@times, A, B), C)