|
|
| File Information |
| Description |
Calculates resultant matrix when the OPERATOR is applied to all combinations of the elements of vector A and the elements of vector B e.g. the outer product of A and B is outerop(A,B,'*'), the outer sum of A and B is outerop(A,B,'+')
If OPERATOR is omitted '+' is assumed
This function is equivalent to the APL language's circle.dot operation. e.g. in APL Ao.*B is the outer product of A and B % and Ao.+B is the outer sum.
Ideally, it would work on matrices but in practice
I've only ever needed to use it with vectors. |
| MATLAB release |
MATLAB 7 (R14)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (4) |
| 28 Aug 2005 |
urs (us) schwarz
|
|
|
| 21 Jul 2006 |
Keith Bonin
|
|
|
| 13 Sep 2006 |
Zeke Cummings
|
|
|
| 09 Nov 2006 |
Matthew Dowle
|
|
|
| Updates |
| 29 Aug 2005 |
Updated help. Added some more common operators to non-eval version. |
| 29 Aug 2005 |
Applied <us>'s suggestion to make it neater and faster (faster at least for non-enumerated operators) by using new functionality of str2func in R14. Still works in R12, but the old way.
R14 users can tidy it up by deleting the pre-R14 method. |
| 01 Jun 2007 |
Removed comaptibility with pre R14 releases becuase TMW have changed the way they reort version numbers. Made + the default operation. |
|
Contact us at files@mathworks.com