eye {matlab} | R Documentation |
MATLAB eye function
Description
Create an identity matrix.
Usage
eye(m, n)
Arguments
m , n |
numeric scalar specifying dimensions for the result |
Value
Returns matrix of order 1.
Defaults to square if second dimension argument n
not provided.
Author(s)
P. Roebuck proebuck1701@gmail.com
See Also
Examples
eye(3)
[Package matlab version 1.0.4.1 Index]