[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Use of bsxfun
From: |
Juan Pablo Carbajal |
Subject: |
Use of bsxfun |
Date: |
Thu, 22 Sep 2011 10:00:56 +0200 |
Hi all,
Not long ago JordiGH show me how to exploit the use of bsxfun. However
I am having troubles using it
Shouldn't the output of this call
> bsxfun (@ (x,y) x * y, [1 -1; 2 -2], [6 6; 3 3])
be [6 -6; 6 -6] and not [3 3; 6 6]? (The latter is what I get)
Thanks
--
M. Sc. Juan Pablo Carbajal
-----
PhD Student
University of Zürich
http://ailab.ifi.uzh.ch/carbajal/
- Use of bsxfun,
Juan Pablo Carbajal <=