Please note that the recommended version of Scilab is 2024.0.0. This page might be outdated.
See the recommended documentation of this function
X = eye(m,n) X = eye(A) X = eye()
matrices, hypermatrices, or
integer values: numbers of rows and columns for
according to its arguments defines an
n matrix with 1 along the main
diagonal or an identity matrix of the same dimension as
A . In case
A is an hypermatrix,
X will be defined as
X(i,i,...,i) = 1 for all
i from 1 to
A is a linear system represented by a
eye(A) returns an
eye matrix of appropriate dimension: (number of outputs
x number of inputs).
eye() produces a identity matrix with undefined
dimensions. Dimensions will be defined when this identity matrix is added
to a matrix with fixed dimensions.
Generalization to N-D hypermatrix
|Report an issue|
|<< empty||Matrix generation||linspace >>|