1
eye Scilab Group Scilab Function eye
10
A,X : matrices or syslin lists
15
according to its arguments defines an mxn matrix with 1 along the main
16
diagonal or an identity matrix of the same dimension as A .
18
Caution: eye(10) is interpreted as eye(A) with A=10 i.e. 1. (It is NOT a
19
ten by ten identity matrix!).
21
If A is a linear system represented by a syslin list, eye(A) returns an
22
eye matrix of appropriate dimension: (number of outputs x number of
25
eye() produces a identity matrix with undefined dimensions. Dimensions
26
will be defined when this identity matrix is added to a mtrix with fixed
32
s=poly(0,'s');A=[s,1;s,s+1];eye(A)
34
A=ssrand(2,2,3);eye(A)