Maxplus Function
Last update : 18/05/2014

percenteye - (%eye) maxplus identity matrix

Calling Sequence

y=%eye(m,n)
y=%eye(x)

Description

Returns a maxplus identity matrix.

Returns a m x n maxplus matrix with 0 on the diagonal and -inf elsewhere. Returns a maxplus identity matrix with the same size as x.

Note that %eye(3) is %eye(a) with a=3 i.e. it is NOT a 3x3 matrix!

See Also

percentones,  percentzeros,