eye: MATLAB eye function

Description Usage Arguments Value Author(s) See Also Examples

Description

Create an identity matrix.

Usage

1
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 proebuck@mdanderson.org

See Also

ones, zeros

Examples

1
eye(3)


Search within the matlab package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.