Professional Documents
Culture Documents
it=it+1;
end,
sol=x0
it=it
end
sol =
-0.7537
0.0412
-0.2810
0.6920
it =
8
L=
2.0000
0.5000
-0.5000
0.5000
0
1.9365
-0.3873
-0.6455
PROBLEMA 2
function[ f,c] = eligeMax(A)
[val,k]=max(abs(A));
[val1,j]=max(val);
i=k(j);
f=i
c=j
end
f=
3
c=
3
0
0
2.1448
0.4663
0
0
0
1.4546