eye(2)
eye(2,2)
diag([1 1])
diag([1 2 3 4 5])
diag(ans)
A = [1 -5 4; 0 7 -2; 3 -3 1]
% matrice inversa
B = inv(A)
A * B
B * A
C = [1 2 3; 4 5 6; 7 8 9]
inv(C)
SC = B * C
DC = C * B
SC2 = A \ C
SC - SC2
DC2 = C/A
% risolvere un sistema lineare Ax = b
A = [2 -3; 1 5]
b = [1 ; 2]
% x = sol, soluzione:
sol = A \ b
A * sol 
% matrice casuale
A = rand(2,3)
1000 * rand(2,3)
1000 * rand(2,3)
1000 * rand(2,3)
quit
# Octave 3.6.4, Mon Oct 28 13:01:15 2013 W. Europe Standard Time <unknown@achilles-TOSH>
