Minkowski Sum (Scripts) Publisher's description
from Mike Sheppard
S=MINKSUM(A,B) produces the Minkowski sum of two sets A and B in Euclidean space
S=MINKSUM(A,B) produces the Minkowski sum of two sets A and B in Euclidean space, the result being the addition of every element of A to every element of B.
[S,D]=MINKSUM(A,B) returns the Minkowski sum S, and also the multiplicity of each element in S.
The number of columns represent the dimensionality. An array of M points in N-D space is an MxN array. A vector of 1D values is a column vector.
If the sizes of A and B are MAxN and MBxN respectively, then the size of S will be at most (MA*MB)xN
A=[1 1; 2 1; 2 2; 1 2]; B=[3 3; 4 3; 4 4; 3 4];
axis([0 7 0 7])
System Requirements:MATLAB 7.13 (2011b)
Program Release Status: New Release
Program Install Support: Install and Uninstall