0% found this document useful (0 votes)
33 views5 pages

Laboratorio 1 Comandos Basicos en Matlab

This document provides an introduction to basic MATLAB commands. It includes examples of calculations, solving equations, writing matrices, and calculating the transpose and inverse of a matrix. Specifically, it shows how to use MATLAB to: 1) Perform basic arithmetic operations and exponentiation 2) Solve simple equations both algebraically and numerically 3) Write and manipulate 3x3 matrices

Uploaded by

Andres Sierra
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
33 views5 pages

Laboratorio 1 Comandos Basicos en Matlab

This document provides an introduction to basic MATLAB commands. It includes examples of calculations, solving equations, writing matrices, and calculating the transpose and inverse of a matrix. Specifically, it shows how to use MATLAB to: 1) Perform basic arithmetic operations and exponentiation 2) Solve simple equations both algebraically and numerically 3) Write and manipulate 3x3 matrices

Uploaded by

Andres Sierra
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

LABORATORIO 1

COMANDOS BASICOS EN MATLAB

PRESENTADO POR
JORGE ANDRES PRADA SIERRA

PRESENTADO A
HERNANDO MONTOYA CHALA

UNIVERSIDAD ANTONIO NARIO


SEDE SUR
CALCULO MULTIVARIADO Y ALGEBRA LINEAL
INGENIERIA ELECTROMECANICA A DISTANCIA

APLICACIONES
Empleando MATLAB calcule el valor de las operaciones indicadas.

1)

(4 +5)

>> (4+5)^3
ans =
729

2)

(5+3)/(3+1)

>> (5+3)/(3+1)
ans =
2

3)

5+3 25

5+3*(sqrt(25))
ans =
20
4

4)

(3+ 2 )
(5+14)

>> (3+2^4)/(5+14)
ans =
1

5)

5+4 (32 8)

>> 5+4*(3^2-8)
ans =
9

6)

3+

(4+24 52)
(2+23)

>> 3+((4+2-4^2-5*2)/(2+2^3))
ans =
1

Solucione empleando MATLAB las ecuaciones dadas.

7)

2 x + 4=4

syms x
>> solve('2*x+4=4^2')
ans =
6

8)

x+ 5=2 x+ 6

>> syms x
>> solve('x+5=2*x+6')
ans =
-1

9)

3 x+2=5+ 2 x +3

>> syms x
>> solve('3*x+2=-5+2*x+3')
ans =
-4

2 X 2+ 2 x=4

10)

>> syms x
>> solve('2*x^2+2*x=4')
ans =
1
-2

Escriba utilizando MATLAB


3 1 2
(
1 )
A= 4 1
5 0 2

11)

>> A=[3,-1,2;4,1,1;5,0,-2]
A=
3
4
5

-1
1
0

2
1
-2

A T MATRIZ TRANSPUESTA DE A

12)
>> A'
ans =
3
-1
2

4
1
1

13)

>> inv(A)
ans =

5
0
-2

A1

MATRIZ INVERSA DE A

0.0690
-0.4483
0.1724

0.0690 0.1034
0.5517 -0.1724
0.1724 -0.2414

You might also like