Académique Documents
Professionnel Documents
Culture Documents
PROGRAMA PROFESIONAL DE
INGENIERIA ELECTRONICA
2 TRABAJO DE METODOS NUMERICOS
INTEGRANTE:
DAVID CHOQUENAIRA FLOREZ
AREQUIPA-PERU
2013
EJERCICIOSDEMTODOS NUMRICOS
Programa Profesional: Ingeniera Electrnica
1. Escribir los comandos MATLAB para resolver la ecuacin matricial:
for i=1:10
if( mod(i,2)== 0)
for j=2:2:10
A(i,j)= i;
end
for k =1:2:9
A(i,k)= -i;
end
else
for j=2:2:10
A(i,j)= -i;
end
for k =1:2:9
A(i,k)=i;
end
end
end
for i=1:10
for j=1:10
if i==j
B(i,j)= 3;
else
B(i,j)= 2;
end
end
end
>>X=(2/3)*B*inv((A/3)-eye(10))
2. Hallar el polinomio P(x) que interpola los siguientes puntos, luego halle P(0).
x
-a
A
2a
y
4
-1
3
4. Dado los
>> p=conv(a,b)+[0 c]
p=
Columns 1 through 6
4.2426 -3.0000
Columns 7 through 8
0.8880 26.2888
>> q=[1 -3 0 1];
>> [c,r]=deconv(p,q)
c=
4.2426
r=
Columns 1 through 6
0
0 904.2542
Columns 7 through 8
>> x=-10:0.01:10;
>> y=polyval(r,x);
>> plot(x,y)
4
10
x 10
-2
-10
-8
-6
-4
-2
ans =
0.6112
-0.4908
10