Search All of the Math Forum:

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

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: matrix multiplication with zero dimensions
Replies: 11   Last Post: Jan 7, 2013 10:20 AM

 Messages: [ Previous | Next ]
 Matt J Posts: 4,997 Registered: 11/28/09
Re: matrix multiplication with zero dimensions
Posted: Jan 7, 2013 12:04 AM

"Matt J" wrote in message <kcdjbp\$46l\$1@newscl01ah.mathworks.com>...
> "Roger Stafford" wrote in message <kcdg4j\$n70\$1@newscl01ah.mathworks.com>...
> >
> > Think of it this way, Matt. Consider the four multiplications:
> >
> > M3 = ones(3,3)*ones(3,3);
> > M2 = ones(3,2)*ones(2,3);
> > M1 = ones(3,1)*ones(1,3);
> > M0 = ones(3,0)*ones(0,3);
> >
> > Each of the elements of 3 x 3 M3 is 3. Each of the elements of 3 x 3 M2 is 2. Each of the elements of 3 x 3 M1 is 1. Therefore by extension of this trend M0 should have 3 x 3 elements and each of them should be 0.

> =============
>
> OK!

But... I still think these things should be documented somewhere. They don't satisfy the basic definitions of matrix multiplication, PROD, or SUM. They're just extrapolations of them.

Date Subject Author
1/6/13 Matt J
1/6/13 Bruno Luong
1/6/13 Matt J
1/6/13 Roger Stafford
1/6/13 Matt J
1/7/13 Matt J
1/7/13 Roger Stafford
1/7/13 James Tursa
1/7/13 Roger Stafford
1/7/13 Matt J
1/7/13 Bruno Luong
1/7/13 Steven Lord