Solo disponible en BuenasTareas
• Páginas : 3 (516 palabras )
• Descarga(s) : 0
• Publicado : 16 de noviembre de 2011

Vista previa del texto

Presentado por: Jorge Leonardo Moreno C.c 1.121.864.242

Tutor: SAULO GOMEZ

UNIVERSIDA NACIONAL ABIERTA Y A DISTANCIA - UNAD

>> f=[5]; >> t=0:0.01:1; >>x=(4/pi)*sin(2*pi*f*t); >> plot(t,x);
1.5

1

0.5

0

-0.5

-1

-1.5

0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

>> f=[5]; >> t=0:0.01:1; >>x=(4/pi)*(1/3)*sin(3*2*pi*f*t); >> plot(t,x);
0.5 0.4 0.3 0.2 0.1 0 -0.1 -0.2 -0.3 -0.4 -0.5

0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

>> f=[5]; >> t=0:0.01:1; >>x=(4/pi)*(1/5)*sin(5*2*pi*f*t); >> plot(t,x);

0.3

0.2

0.1

0

-0.1

-0.2

-0.3

-0.4

0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

>> x1=(4/pi)*sin(2*pi*f*t); >>x3=(4/pi)*(1/3)*sin(3*2*pi*f*t); >> x5=(4/pi)*(1/5)*sin(5*2*pi*f*t); >> r(t)=x1+x3+x5; >> r=x1+x3+x5; >> plot(t,r)

1.5

1

0.5

0

-0.5

-1

-1.5

0

0.1

0.2

0.3

0.4

0.50.6

0.7

0.8

0.9

1

>> x15=(4/pi)*(1/15)*sin(15*2*pi*f*t); >> x17=(4/pi)*(1/17)*sin(17*2*pi*f*t); >> x19=(4/pi)*(1/19)*sin(19*2*pi*f*t); >> r=x1+x3+x5+x7+x9+x11+x13+x15+x17+x19;

1 0.80.6 0.4 0.2 0 -0.2 -0.4 -0.6 -0.8 -1

0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

>> n=0:100; >> F=5/100; >> x1=sin(pi*n); >> stem(n,x1)
4 3 2 1 0 -1 -2 -3 -4 0 x 10-14

10

20

30

40

50

60

70

80

90

100

>> x2=cos(2*pi*100*n); >> stem(n,x2)

1

0.9

0.8

0.7

0.6

0.5

0.4

0.3

0.2

0.1

0

0

10

2030

40

50

60

70

80

90

100

>> a=[1 2 3;4 6 7;9 10 11]; >> b=[7 3 1;4 9 8;7 10 12]; >> c=[14 11 12;7 13 4;8 10 12]; >> a+b+c

ans =

22 16 16 15 28 19 24 30 35

>> c-aans =

13 3 -1

9

9

7 -3 0 1

>> a*b' ans = 16 46 63 53 126 172 104 214 295 >> c'*a

ans =

114 150 179 153 200 234 136 168 196

>> b'*a'

ans =

36 101 180 51 136 227 53 136...