Matlab Lab 1
-
Upload
andres-sierra -
Category
Documents
-
view
221 -
download
0
description
Transcript of Matlab Lab 1
LABORATORIO 1COMANDOS BASICOS EN MATLAB
PRESENTADO PORJORGE ANDRES PRADA SIERRA
PRESENTADO AHERNANDO MONTOYA CHALA
UNIVERSIDAD ANTONIO NARIOSEDE SURCALCULO MULTIVARIADO Y ALGEBRA LINEALINGENIERIA ELECTROMECANICA A DISTANCIA
APLICACIONES
Empleando MATLAB calcule el valor de las operaciones indicadas.
1)
>> (4+5)^3
ans =
729
2)
>> (5+3)/(3+1)
ans =
2
3)
5+3*(sqrt(25))
ans =
20
4)
>> (3+2^4)/(5+14)
ans =
1
5)
>> 5+4*(3^2-8)
ans =
9
6)
>> 3+((4+2-4^2-5*2)/(2+2^3))
ans =
1
Solucione empleando MATLAB las ecuaciones dadas.
7)
syms x>> solve('2*x+4=4^2') ans = 6
8)
>> syms x>> solve('x+5=2*x+6') ans = -1
9)
>> syms x>> solve('3*x+2=-5+2*x+3') ans = -4
10)
>> syms x>> solve('2*x^2+2*x=4') ans = 1 -2
Escriba utilizando MATLAB
11) A= >> A=[3,-1,2;4,1,1;5,0,-2]
A =
3 -1 2 4 1 1 5 0 -2
12)
>> A'
ans =
3 4 5 -1 1 0 2 1 -2
13) MATRIZ INVERSA DE A
>> inv(A)
ans =
0.0690 0.0690 0.1034 -0.4483 0.5517 -0.1724 0.1724 0.1724 -0.2414