Lola

Páginas: 25 (6250 palabras) Publicado: 23 de septiembre de 2010
UANL
FIME
Programación en MATLAB
Dr. Gustavo Rodríguez Morales

Nombre:
J. Jesús Villanueva Jr.

Matrícula:
1465133

Hora:
M5

Salón:
Sala B

Evalué el vector y en los siguientes casos. A) y = sin x, x =[ 10 π /200, 20 π /200, 30 π /200, . . . 10 π]

>> x = [10*pi/200:10*pi/200:10*pi]

x=

Columns 1 through 16

0.1571 0.3142 0.4712 0.6283 0.7854 1.8850 2.0420 2.19912.3562 2.5133

0.9425

1.0996

1.2566

1.4137

1.5708

1.7279

Columns 17 through 32

2.6704 2.8274 2.9845 3.1416 3.2987 4.3982 4.5553 4.7124 4.8695 5.0265

3.4558

3.6128

3.7699

3.9270

4.0841

4.2412

Columns 33 through 48

5.1836 5.3407 5.4978 5.6549 5.8119 6.9115 7.0686 7.2257 7.3827 7.5398

5.9690

6.1261

6.2832

6.4403

6.5973

6.7544

Columns 49through 64

7.6969 7.8540 8.0111 8.1681 8.3252 9.4248 9.5819 9.7389 9.8960 10.0531

8.4823

8.6394

8.7965

8.9535

9.1106

9.2677

Columns 65 through 80

10.2102 10.3673 10.5243 10.6814 10.8385 10.9956 11.1527 11.3097 11.4668 11.7810 11.9381 12.0951 12.2522 12.4093 12.5664

11.6239

Columns 81 through 96

12.7235 12.8805 13.0376 13.1947 13.3518 13.5088 14.2942 14.451314.6084 14.7655 14.9226 15.0796

13.6659 13.8230 13.9801

14.1372

Columns 97 through 112

15.2367 15.3938 15.5509 15.7080 15.8650 16.0221 16.1792 16.3363 16.4934 16.8075 16.9646 17.1217 17.2788 17.4358 17.5929

16.6504

Columns 113 through 128

17.7500 17.9071 18.0642 18.2212 18.3783 18.5354 18.6925 18.8496 19.0066 19.3208 19.4779 19.6350 19.7920 19.9491 20.1062

19.1637

Columns129 through 144

20.2633 20.4204 20.5774 20.7345 20.8916 21.0487 21.2058 21.3628 21.5199 21.8341 21.9911 22.1482 22.3053 22.4624 22.6195

21.6770

Columns 145 through 160

22.7765 22.9336 23.0907 23.2478 23.4049 23.5619 23.7190 24.3473 24.5044 24.6615 24.8186 24.9757 25.1327 Columns 161 through 176

23.8761 24.0332

24.1903

25.2898 25.4469 25.6040 25.7611 25.9181 26.0752 26.232326.3894 26.5465 26.8606 27.0177 27.1748 27.3319 27.4889 27.6460

26.7035

Columns 177 through 192

27.8031 27.9602 28.1173 28.2743 28.4314 28.5885 28.7456 28.9027 29.0597 29.3739 29.5310 29.6881 29.8451 30.0022 30.1593

29.2168

Columns 193 through 200

30.3164 30.4734 30.6305 30.7876 30.9447 31.1018 31.2588 31.4159

>> y = sin(x)

y=

Columns 1 through 16

0.1564 0.3090 0.45400.5878 0.7071 0.9511 0.8910 0.8090 0.7071 0.5878 Columns 17 through 32

0.8090

0.8910

0.9511

0.9877

1.0000

0.9877

0.4540 0.3090 0.1564 0.0000 -0.1564 -0.3090 -0.4540 -0.5878 -0.7071 -0.8090 0.8910 -0.9511 -0.9877 -1.0000 -0.9877 -0.9511

Columns 33 through 48

-0.8910 -0.8090 -0.7071 -0.5878 -0.4540 -0.3090 -0.1564 -0.0000 0.4540 0.5878 0.7071 0.8090 0.8910 0.9511

0.15640.3090

Columns 49 through 64

0.9877 1.0000 0.9877 0.9511 0.8910 0.0000 -0.1564 -0.3090 -0.4540 -0.5878

0.8090

0.7071

0.5878

0.4540

0.3090

0.1564

Columns 65 through 80

-0.7071 -0.8090 -0.8910 -0.9511 -0.9877 -1.0000 0.7071 -0.5878 -0.4540 -0.3090 -0.1564 -0.0000

-0.9877

-0.9511

-0.8910

-0.8090

-

Columns 81 through 96

0.1564 0.3090 0.4540 0.58780.7071 0.9511 0.8910 0.8090 0.7071 0.5878

0.8090

0.8910

0.9511

0.9877

1.0000

0.9877

Columns 97 through 112

0.4540 0.3090 0.1564 0.0000 -0.1564 -0.3090 0.8910 -0.9511 -0.9877 -1.0000 -0.9877 -0.9511

-0.4540

-0.5878

-0.7071

-0.8090

-

Columns 113 through 128

-0.8910 -0.8090 -0.7071 -0.5878 -0.4540 -0.3090 0.4540 0.5878 0.7071 0.8090 0.8910 0.9511 Columns129 through 144

-0.1564

-0.0000

0.1564

0.3090

0.9877 1.0000 0.9877 0.9511 0.8910 0.0000 -0.1564 -0.3090 -0.4540 -0.5878

0.8090

0.7071

0.5878

0.4540

0.3090

0.1564

Columns 145 through 160

-0.7071 -0.8090 -0.8910 -0.9511 -0.9877 -1.0000 0.7071 -0.5878 -0.4540 -0.3090 -0.1564 -0.0000

-0.9877

-0.9511

-0.8910

-0.8090

-

Columns 161 through 176...
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • lol lol lol lol
  • lol lol lol
  • lol lolo lola lolelo
  • LOL ES LOL OK LOL
  • LOL LOL Y MAS LOL
  • lol lol lol
  • lol lol lol
  • lol de lol

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS