Identity matrix
Note that in Matlab, A can contain complex values (in these cases, only real part of A is taken in account), what Scilab function do not tolerate.
:
Matlab Scilab
B = `eye`_(2)
B = [1,0;0,1]
B = `eye`_(2,2)
B = [1,0;0,1]
B = `eye`_([3,3])
B = [1,0,0;0,1,0;0,0,1]
B = `eye`_(2)
B = 1
B = `eye`_(2,2)
B = [1,0;0,1]
B = `eye`_([3,3])
B = [1,0]