outer.m : a generalized outer function

Does equivalent of X*Y' , replacing "*" with arbitrary func. Strings allowed

You are now following this Submission

This is similar to 29428 or 8370, but more flexible and (I hope) intuitive. Calculate the equivalent of the vector outer product, using any function which acts on two inputs (i.e. two vectors, or one vector and one single value, etc.). Character/string functions are accepted as well as purely numeric functions.

Cite As

Carl Witthoft (2026). outer.m : a generalized outer function (https://www.mathworks.com/matlabcentral/fileexchange/37409-outer-m-a-generalized-outer-function), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: evTestK

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0