Outer Operation

e.g. Outer Product, Outer Sum, Outer Equals etc...
1,5K Downloads
Aktualisiert 1. Jun 2007

Keine Lizenz

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.

Zitieren als

Murphy O'Brien (2024). Outer Operation (https://www.mathworks.com/matlabcentral/fileexchange/8370-outer-operation), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R14
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Data Distribution Plots finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0.0

Removed comaptibility with pre R14 releases becuase TMW have changed the way they reort version numbers. Made + the default operation.