outer.m : a generalized outer function
Version 1.0.0.0 (2.35 KB) by
Carl Witthoft
Does equivalent of X*Y' , replacing "*" with arbitrary func. Strings allowed
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://in.mathworks.com/matlabcentral/fileexchange/37409-outer-m-a-generalized-outer-function), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2011a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Characters and Strings in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired: evTestK
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
