eye {matlab}R Documentation

MATLAB eye function

Description

Create an identity matrix.

Usage

eye(n, m = n)

Arguments

n, m dimensions for the result

Value

Returns matrix of order 1. Defaults to square if second dimension argument m not provided.

Author(s)

P. Roebuck, roebuck@mdanderson.org

Examples

eye(3)

[Package matlab version 0.7-6 Index]