Matlab | Octave | Scilab | |||
M=[1 2; 3 4]; | = | M=[1 2; 3 4]; | = | M=[1 2; 3 4]; | Définition |
I=eye(n, m); | = | I=eye(n, m); | = | I=eye(n, m); | Matrice identité |
U=ones(n, m); | = | U=ones(n, m); | = | U=ones(n, m); | Matrice de 1 |
R=rand(n, m); | = | R=rand(n, m); | = | R=rand(n, m); | Matrice aléatoire |
Z=zeros(n, m); | = | Z=zeros(n, m); | = | Z=zeros(n, m); | Matrice nulle |
Z=zeros(size(A)); | = | Z=zeros(size(A)); | ! | Z=zeros(A); | Matrice nulle ! |