Primi esercizi in Matlab compreso algoritmo di risoluzione per sistemi lineari

This commit is contained in:
2014-10-01 14:09:48 +02:00
commit 5c3e6b4d9c
6 changed files with 71 additions and 0 deletions

10
matricesuperiore.m~ Normal file
View File

@@ -0,0 +1,10 @@
U=[1,2,3:4,5,6;7,8,9];
B=[5;6;7];
x=[];
n= lenght(B);
x(n) = b(n)/U(n,n);
for i=n-1:-1:1
somma = 0;
for k