Vous êtes sur la page 1sur 39

>> %%practica2

>> %%NJOMBRE:JAVIER CAPA


>> %%CURSO:3 B DE ELECTRICA
>> A=[1 2 3;3 4 5;6 7 8]

A=

>> B=[1 2 3]

B=

>> C=[4; 5; 6;]

C=

4
5
6

>> %INTRODUCIMOS LAS CONSTANTE DE LAS VARIABLES

>> a=1 ;b=4 ;c=13 ;


>> %LA SOLUCION SERA
>> X1=(-b + sqrt( b^2-4*a*c))/(2^a)

X1 =

-2.0000 + 3.0000i

>> X2=(-b - sqrt( b^2-4*a*c))/(2^a)

X2 =

-2.0000 - 3.0000i

>>
>> p=[2 7 1]

p=

>> q=[1 0 3 0]

q=

>> %p(x)2x^2+7x+1
>>
>> %p(x)=x^3+5x^2+8x+1 en el punto x=2
>> clear p
>> %definimos el polinomio p
>> p=[1 5 8 1]

p=

>> polyval(p,2)

ans =

45

>> p=[1 -3 9 13];


>> %calculemos las raizes
>> roots(p)

ans =

2.0000 + 3.0000i
2.0000 - 3.0000i

-1.0000

>> %%intronducimos las raices


>> raices=[-1 2+3i 2-3i];
>> %recostruimos el polinomio
>> poly(raices)

ans =

-3

13

>> %observe que es el polinomio del ejemplo anterior


>> %%introduccion de polinomios
>> p1=[1 -2 1]; p2=[1 1]

p2 =

>> conv(p1,p2)

ans =

-1

-1

>> %divicion

>> [c,r]=deconv(p1,p2)

c=

-3

r=

>> t=[0: 0.5: 4]

t=

Columns 1 through 8

0.5000

1.0000

1.5000

2.0000

Column 9

4.0000

>> %introducimos los datos de los ejemplos


>> k=10 ;v1=[1 2 3]; v2=[4 5 6];
>>

2.5000

3.0000

3.5000

>> k*vl
??? Undefined function or variable 'vl'.

>> k*v1

ans =

10

20

30

>> v1+v2

ans =

>> v1.*v2

ans =

10

18

>> %.* combulacion para hacer esa intregracion


>> combolucion v1,v2
??? Undefined function or method 'combolucion' for input arguments of type
'char'.

>> conv(v1,v2)

ans =

13

28

27

18

>> t=[0:0.1:10];%dominio de representacion


>> y=10*cxp(-t).*sin(5*t);%funcion a representar
??? Undefined function or method 'cxp' for input arguments of type 'double'.

>> y=10*cxp(-t).*sin(5*t) ;%funcion a representar


??? Undefined function or method 'cxp' for input arguments of type 'double'.

>> y=10*exp(-t).*sin(5*t) ;%funcion a representar


>> plot(t,y)%dibuja la grafica
>> grid%activa larejilla
>> xlabel('tiempo(s)')% etiqueta eje x
>> ylabel('y(t)')%etiqueta el eje y
>> title('senoide amortiguada')%titulo
>> plot(t,y,'r')%dibuja la grafica

>> fplot('10*exp(-t).*sin(5*t)',[0,10])
>> grid on
>> xlabel('tiempo(s)')% etiqueta eje x
>> ylabel('y(t)')%etiqueta el eje y
>> title('senoide amortiguada')

>> t=[0:pi/180:4*pi];%intervalo de representacion


>> y1=sin(t)

y1 =

Columns 1 through 8

0.0175

0.0349

0.0523

0.0698

0.0872

0.1045

0.1219

Columns 9 through 16

0.1392

0.1564

0.1736

0.1908

0.2079

0.2250

0.2419

0.2588

0.3256

0.3420

0.3584

0.3746

0.3907

Columns 17 through 24

0.2756

0.2924

0.3090

Columns 25 through 32

0.4067

0.4226

0.4384

0.4540

0.4695

0.4848

0.5000

0.5150

0.5736

0.5878

0.6018

0.6157

0.6293

0.6820

0.6947

0.7071

0.7193

0.7314

0.7771

0.7880

0.7986

0.8090

0.8192

0.8572

0.8660

0.8746

0.8829

0.8910

0.9205

0.9272

0.9336

0.9397

0.9455

0.9659

0.9703

0.9744

0.9781

0.9816

Columns 33 through 40

0.5299

0.5446

0.5592

Columns 41 through 48

0.6428

0.6561

0.6691

Columns 49 through 56

0.7431

0.7547

0.7660

Columns 57 through 64

0.8290

0.8387

0.8480

Columns 65 through 72

0.8988

0.9063

0.9135

Columns 73 through 80

0.9511

0.9563

0.9613

Columns 81 through 88

0.9848

0.9877

0.9903

0.9925

0.9945

0.9962

0.9976

0.9986

0.9998

0.9994

0.9986

0.9976

0.9962

0.9877

0.9848

0.9816

0.9781

0.9744

0.9563

0.9511

0.9455

0.9397

0.9336

0.9063

0.8988

0.8910

0.8829

0.8746

0.8387

0.8290

0.8192

0.8090

0.7986

Columns 89 through 96

0.9994

0.9998

1.0000

Columns 97 through 104

0.9945

0.9925

0.9903

Columns 105 through 112

0.9703

0.9659

0.9613

Columns 113 through 120

0.9272

0.9205

0.9135

Columns 121 through 128

0.8660

0.8572

0.8480

Columns 129 through 136

0.7880

0.7771

0.7660

0.7547

0.7431

0.7314

0.7193

0.7071

0.6561

0.6428

0.6293

0.6157

0.6018

0.5446

0.5299

0.5150

0.5000

0.4848

0.4226

0.4067

0.3907

0.3746

0.3584

0.2924

0.2756

0.2588

0.2419

0.2250

0.1564

0.1392

0.1219

0.1045

0.0872

0.0175

0.0000 -0.0175 -0.0349 -0.0523

Columns 137 through 144

0.6947

0.6820

0.6691

Columns 145 through 152

0.5878

0.5736

0.5592

Columns 153 through 160

0.4695

0.4540

0.4384

Columns 161 through 168

0.3420

0.3256

0.3090

Columns 169 through 176

0.2079

0.1908

0.1736

Columns 177 through 184

0.0698

0.0523

0.0349

Columns 185 through 192

-0.0698 -0.0872 -0.1045 -0.1219 -0.1392 -0.1564 -0.1736 -0.1908

Columns 193 through 200

-0.2079 -0.2250 -0.2419 -0.2588 -0.2756 -0.2924 -0.3090 -0.3256

Columns 201 through 208

-0.3420 -0.3584 -0.3746 -0.3907 -0.4067 -0.4226 -0.4384 -0.4540

Columns 209 through 216

-0.4695 -0.4848 -0.5000 -0.5150 -0.5299 -0.5446 -0.5592 -0.5736

Columns 217 through 224

-0.5878 -0.6018 -0.6157 -0.6293 -0.6428 -0.6561 -0.6691 -0.6820

Columns 225 through 232

-0.6947 -0.7071 -0.7193 -0.7314 -0.7431 -0.7547 -0.7660 -0.7771

Columns 233 through 240

-0.7880 -0.7986 -0.8090 -0.8192 -0.8290 -0.8387 -0.8480 -0.8572

Columns 241 through 248

-0.8660 -0.8746 -0.8829 -0.8910 -0.8988 -0.9063 -0.9135 -0.9205

Columns 249 through 256

-0.9272 -0.9336 -0.9397 -0.9455 -0.9511 -0.9563 -0.9613 -0.9659

Columns 257 through 264

-0.9703 -0.9744 -0.9781 -0.9816 -0.9848 -0.9877 -0.9903 -0.9925

Columns 265 through 272

-0.9945 -0.9962 -0.9976 -0.9986 -0.9994 -0.9998 -1.0000 -0.9998

Columns 273 through 280

-0.9994 -0.9986 -0.9976 -0.9962 -0.9945 -0.9925 -0.9903 -0.9877

Columns 281 through 288

-0.9848 -0.9816 -0.9781 -0.9744 -0.9703 -0.9659 -0.9613 -0.9563

Columns 289 through 296

-0.9511 -0.9455 -0.9397 -0.9336 -0.9272 -0.9205 -0.9135 -0.9063

Columns 297 through 304

-0.8988 -0.8910 -0.8829 -0.8746 -0.8660 -0.8572 -0.8480 -0.8387

Columns 305 through 312

-0.8290 -0.8192 -0.8090 -0.7986 -0.7880 -0.7771 -0.7660 -0.7547

Columns 313 through 320

-0.7431 -0.7314 -0.7193 -0.7071 -0.6947 -0.6820 -0.6691 -0.6561

Columns 321 through 328

-0.6428 -0.6293 -0.6157 -0.6018 -0.5878 -0.5736 -0.5592 -0.5446

Columns 329 through 336

-0.5299 -0.5150 -0.5000 -0.4848 -0.4695 -0.4540 -0.4384 -0.4226

Columns 337 through 344

-0.4067 -0.3907 -0.3746 -0.3584 -0.3420 -0.3256 -0.3090 -0.2924

Columns 345 through 352

-0.2756 -0.2588 -0.2419 -0.2250 -0.2079 -0.1908 -0.1736 -0.1564

Columns 353 through 360

-0.1392 -0.1219 -0.1045 -0.0872 -0.0698 -0.0523 -0.0349 -0.0175

Columns 361 through 368

-0.0000

0.0175

0.0349

0.0523

0.0698

0.0872

0.1045

0.1219

0.1908

0.2079

0.2250

0.2419

0.2588

0.3256

0.3420

0.3584

0.3746

0.3907

0.4540

0.4695

0.4848

0.5000

0.5150

Columns 369 through 376

0.1392

0.1564

0.1736

Columns 377 through 384

0.2756

0.2924

0.3090

Columns 385 through 392

0.4067

0.4226

0.4384

Columns 393 through 400

0.5299

0.5446

0.5592

0.5736

0.5878

0.6018

0.6157

0.6293

0.6820

0.6947

0.7071

0.7193

0.7314

0.7771

0.7880

0.7986

0.8090

0.8192

0.8572

0.8660

0.8746

0.8829

0.8910

0.9205

0.9272

0.9336

0.9397

0.9455

0.9659

0.9703

0.9744

0.9781

0.9816

Columns 401 through 408

0.6428

0.6561

0.6691

Columns 409 through 416

0.7431

0.7547

0.7660

Columns 417 through 424

0.8290

0.8387

0.8480

Columns 425 through 432

0.8988

0.9063

0.9135

Columns 433 through 440

0.9511

0.9563

0.9613

Columns 441 through 448

0.9848

0.9877

0.9903

0.9925

0.9945

0.9962

0.9976

0.9986

0.9998

0.9994

0.9986

0.9976

0.9962

0.9877

0.9848

0.9816

0.9781

0.9744

0.9563

0.9511

0.9455

0.9397

0.9336

0.9063

0.8988

0.8910

0.8829

0.8746

0.8387

0.8290

0.8192

0.8090

0.7986

0.7547

0.7431

0.7314

0.7193

0.7071

Columns 449 through 456

0.9994

0.9998

1.0000

Columns 457 through 464

0.9945

0.9925

0.9903

Columns 465 through 472

0.9703

0.9659

0.9613

Columns 473 through 480

0.9272

0.9205

0.9135

Columns 481 through 488

0.8660

0.8572

0.8480

Columns 489 through 496

0.7880

0.7771

0.7660

Columns 497 through 504

0.6947

0.6820

0.6691

0.6561

0.6428

0.6293

0.6157

0.6018

0.5446

0.5299

0.5150

0.5000

0.4848

0.4226

0.4067

0.3907

0.3746

0.3584

0.2924

0.2756

0.2588

0.2419

0.2250

0.1564

0.1392

0.1219

0.1045

0.0872

0.0175

0.0000 -0.0175 -0.0349 -0.0523

Columns 505 through 512

0.5878

0.5736

0.5592

Columns 513 through 520

0.4695

0.4540

0.4384

Columns 521 through 528

0.3420

0.3256

0.3090

Columns 529 through 536

0.2079

0.1908

0.1736

Columns 537 through 544

0.0698

0.0523

0.0349

Columns 545 through 552

-0.0698 -0.0872 -0.1045 -0.1219 -0.1392 -0.1564 -0.1736 -0.1908

Columns 553 through 560

-0.2079 -0.2250 -0.2419 -0.2588 -0.2756 -0.2924 -0.3090 -0.3256

Columns 561 through 568

-0.3420 -0.3584 -0.3746 -0.3907 -0.4067 -0.4226 -0.4384 -0.4540

Columns 569 through 576

-0.4695 -0.4848 -0.5000 -0.5150 -0.5299 -0.5446 -0.5592 -0.5736

Columns 577 through 584

-0.5878 -0.6018 -0.6157 -0.6293 -0.6428 -0.6561 -0.6691 -0.6820

Columns 585 through 592

-0.6947 -0.7071 -0.7193 -0.7314 -0.7431 -0.7547 -0.7660 -0.7771

Columns 593 through 600

-0.7880 -0.7986 -0.8090 -0.8192 -0.8290 -0.8387 -0.8480 -0.8572

Columns 601 through 608

-0.8660 -0.8746 -0.8829 -0.8910 -0.8988 -0.9063 -0.9135 -0.9205

Columns 609 through 616

-0.9272 -0.9336 -0.9397 -0.9455 -0.9511 -0.9563 -0.9613 -0.9659

Columns 617 through 624

-0.9703 -0.9744 -0.9781 -0.9816 -0.9848 -0.9877 -0.9903 -0.9925

Columns 625 through 632

-0.9945 -0.9962 -0.9976 -0.9986 -0.9994 -0.9998 -1.0000 -0.9998

Columns 633 through 640

-0.9994 -0.9986 -0.9976 -0.9962 -0.9945 -0.9925 -0.9903 -0.9877

Columns 641 through 648

-0.9848 -0.9816 -0.9781 -0.9744 -0.9703 -0.9659 -0.9613 -0.9563

Columns 649 through 656

-0.9511 -0.9455 -0.9397 -0.9336 -0.9272 -0.9205 -0.9135 -0.9063

Columns 657 through 664

-0.8988 -0.8910 -0.8829 -0.8746 -0.8660 -0.8572 -0.8480 -0.8387

Columns 665 through 672

-0.8290 -0.8192 -0.8090 -0.7986 -0.7880 -0.7771 -0.7660 -0.7547

Columns 673 through 680

-0.7431 -0.7314 -0.7193 -0.7071 -0.6947 -0.6820 -0.6691 -0.6561

Columns 681 through 688

-0.6428 -0.6293 -0.6157 -0.6018 -0.5878 -0.5736 -0.5592 -0.5446

Columns 689 through 696

-0.5299 -0.5150 -0.5000 -0.4848 -0.4695 -0.4540 -0.4384 -0.4226

Columns 697 through 704

-0.4067 -0.3907 -0.3746 -0.3584 -0.3420 -0.3256 -0.3090 -0.2924

Columns 705 through 712

-0.2756 -0.2588 -0.2419 -0.2250 -0.2079 -0.1908 -0.1736 -0.1564

Columns 713 through 720

-0.1392 -0.1219 -0.1045 -0.0872 -0.0698 -0.0523 -0.0349 -0.0175

Column 721

-0.0000

>> y2=cos(t)

y2 =

Columns 1 through 8

1.0000

0.9998

0.9994

0.9986

0.9976

0.9962

0.9945

0.9925

0.9816

0.9781

0.9744

0.9703

0.9659

Columns 9 through 16

0.9903

0.9877

0.9848

Columns 17 through 24

0.9613

0.9563

0.9511

0.9455

0.9397

0.9336

0.9272

0.9205

0.8910

0.8829

0.8746

0.8660

0.8572

0.8192

0.8090

0.7986

0.7880

0.7771

0.7314

0.7193

0.7071

0.6947

0.6820

0.6293

0.6157

0.6018

0.5878

0.5736

0.5150

0.5000

0.4848

0.4695

0.4540

0.3907

0.3746

0.3584

0.3420

0.3256

Columns 25 through 32

0.9135

0.9063

0.8988

Columns 33 through 40

0.8480

0.8387

0.8290

Columns 41 through 48

0.7660

0.7547

0.7431

Columns 49 through 56

0.6691

0.6561

0.6428

Columns 57 through 64

0.5592

0.5446

0.5299

Columns 65 through 72

0.4384

0.4226

0.4067

Columns 73 through 80

0.3090

0.2924

0.2756

0.2588

0.2419

0.2250

0.2079

0.1908

0.1219

0.1045

0.0872

0.0698

0.0523

Columns 81 through 88

0.1736

0.1564

0.1392

Columns 89 through 96

0.0349

0.0175

0.0000 -0.0175 -0.0349 -0.0523 -0.0698 -0.0872

Columns 97 through 104

-0.1045 -0.1219 -0.1392 -0.1564 -0.1736 -0.1908 -0.2079 -0.2250

Columns 105 through 112

-0.2419 -0.2588 -0.2756 -0.2924 -0.3090 -0.3256 -0.3420 -0.3584

Columns 113 through 120

-0.3746 -0.3907 -0.4067 -0.4226 -0.4384 -0.4540 -0.4695 -0.4848

Columns 121 through 128

-0.5000 -0.5150 -0.5299 -0.5446 -0.5592 -0.5736 -0.5878 -0.6018

Columns 129 through 136

-0.6157 -0.6293 -0.6428 -0.6561 -0.6691 -0.6820 -0.6947 -0.7071

Columns 137 through 144

-0.7193 -0.7314 -0.7431 -0.7547 -0.7660 -0.7771 -0.7880 -0.7986

Columns 145 through 152

-0.8090 -0.8192 -0.8290 -0.8387 -0.8480 -0.8572 -0.8660 -0.8746

Columns 153 through 160

-0.8829 -0.8910 -0.8988 -0.9063 -0.9135 -0.9205 -0.9272 -0.9336

Columns 161 through 168

-0.9397 -0.9455 -0.9511 -0.9563 -0.9613 -0.9659 -0.9703 -0.9744

Columns 169 through 176

-0.9781 -0.9816 -0.9848 -0.9877 -0.9903 -0.9925 -0.9945 -0.9962

Columns 177 through 184

-0.9976 -0.9986 -0.9994 -0.9998 -1.0000 -0.9998 -0.9994 -0.9986

Columns 185 through 192

-0.9976 -0.9962 -0.9945 -0.9925 -0.9903 -0.9877 -0.9848 -0.9816

Columns 193 through 200

-0.9781 -0.9744 -0.9703 -0.9659 -0.9613 -0.9563 -0.9511 -0.9455

Columns 201 through 208

-0.9397 -0.9336 -0.9272 -0.9205 -0.9135 -0.9063 -0.8988 -0.8910

Columns 209 through 216

-0.8829 -0.8746 -0.8660 -0.8572 -0.8480 -0.8387 -0.8290 -0.8192

Columns 217 through 224

-0.8090 -0.7986 -0.7880 -0.7771 -0.7660 -0.7547 -0.7431 -0.7314

Columns 225 through 232

-0.7193 -0.7071 -0.6947 -0.6820 -0.6691 -0.6561 -0.6428 -0.6293

Columns 233 through 240

-0.6157 -0.6018 -0.5878 -0.5736 -0.5592 -0.5446 -0.5299 -0.5150

Columns 241 through 248

-0.5000 -0.4848 -0.4695 -0.4540 -0.4384 -0.4226 -0.4067 -0.3907

Columns 249 through 256

-0.3746 -0.3584 -0.3420 -0.3256 -0.3090 -0.2924 -0.2756 -0.2588

Columns 257 through 264

-0.2419 -0.2250 -0.2079 -0.1908 -0.1736 -0.1564 -0.1392 -0.1219

Columns 265 through 272

-0.1045 -0.0872 -0.0698 -0.0523 -0.0349 -0.0175 -0.0000

0.0175

Columns 273 through 280

0.0349

0.0523

0.0698

0.0872

0.1045

0.1219

0.1392

0.1564

Columns 281 through 288

0.1736

0.1908

0.2079

0.2250

0.2419

0.2588

0.2756

0.2924

0.3584

0.3746

0.3907

0.4067

0.4226

0.4848

0.5000

0.5150

0.5299

0.5446

0.6018

0.6157

0.6293

0.6428

0.6561

0.7071

0.7193

0.7314

0.7431

0.7547

0.7986

0.8090

0.8192

0.8290

0.8387

Columns 289 through 296

0.3090

0.3256

0.3420

Columns 297 through 304

0.4384

0.4540

0.4695

Columns 305 through 312

0.5592

0.5736

0.5878

Columns 313 through 320

0.6691

0.6820

0.6947

Columns 321 through 328

0.7660

0.7771

0.7880

Columns 329 through 336

0.8480

0.8572

0.8660

0.8746

0.8829

0.8910

0.8988

0.9063

0.9336

0.9397

0.9455

0.9511

0.9563

0.9744

0.9781

0.9816

0.9848

0.9877

0.9962

0.9976

0.9986

0.9994

0.9998

0.9986

0.9976

0.9962

0.9945

0.9925

0.9816

0.9781

0.9744

0.9703

0.9659

0.9455

0.9397

0.9336

0.9272

0.9205

Columns 337 through 344

0.9135

0.9205

0.9272

Columns 345 through 352

0.9613

0.9659

0.9703

Columns 353 through 360

0.9903

0.9925

0.9945

Columns 361 through 368

1.0000

0.9998

0.9994

Columns 369 through 376

0.9903

0.9877

0.9848

Columns 377 through 384

0.9613

0.9563

0.9511

Columns 385 through 392

0.9135

0.9063

0.8988

0.8910

0.8829

0.8746

0.8660

0.8572

0.8192

0.8090

0.7986

0.7880

0.7771

0.7314

0.7193

0.7071

0.6947

0.6820

0.6293

0.6157

0.6018

0.5878

0.5736

0.5150

0.5000

0.4848

0.4695

0.4540

0.3907

0.3746

0.3584

0.3420

0.3256

Columns 393 through 400

0.8480

0.8387

0.8290

Columns 401 through 408

0.7660

0.7547

0.7431

Columns 409 through 416

0.6691

0.6561

0.6428

Columns 417 through 424

0.5592

0.5446

0.5299

Columns 425 through 432

0.4384

0.4226

0.4067

Columns 433 through 440

0.3090

0.2924

0.2756

0.2588

0.2419

0.2250

0.2079

0.1908

0.1219

0.1045

0.0872

0.0698

0.0523

Columns 441 through 448

0.1736

0.1564

0.1392

Columns 449 through 456

0.0349

0.0175

0.0000 -0.0175 -0.0349 -0.0523 -0.0698 -0.0872

Columns 457 through 464

-0.1045 -0.1219 -0.1392 -0.1564 -0.1736 -0.1908 -0.2079 -0.2250

Columns 465 through 472

-0.2419 -0.2588 -0.2756 -0.2924 -0.3090 -0.3256 -0.3420 -0.3584

Columns 473 through 480

-0.3746 -0.3907 -0.4067 -0.4226 -0.4384 -0.4540 -0.4695 -0.4848

Columns 481 through 488

-0.5000 -0.5150 -0.5299 -0.5446 -0.5592 -0.5736 -0.5878 -0.6018

Columns 489 through 496

-0.6157 -0.6293 -0.6428 -0.6561 -0.6691 -0.6820 -0.6947 -0.7071

Columns 497 through 504

-0.7193 -0.7314 -0.7431 -0.7547 -0.7660 -0.7771 -0.7880 -0.7986

Columns 505 through 512

-0.8090 -0.8192 -0.8290 -0.8387 -0.8480 -0.8572 -0.8660 -0.8746

Columns 513 through 520

-0.8829 -0.8910 -0.8988 -0.9063 -0.9135 -0.9205 -0.9272 -0.9336

Columns 521 through 528

-0.9397 -0.9455 -0.9511 -0.9563 -0.9613 -0.9659 -0.9703 -0.9744

Columns 529 through 536

-0.9781 -0.9816 -0.9848 -0.9877 -0.9903 -0.9925 -0.9945 -0.9962

Columns 537 through 544

-0.9976 -0.9986 -0.9994 -0.9998 -1.0000 -0.9998 -0.9994 -0.9986

Columns 545 through 552

-0.9976 -0.9962 -0.9945 -0.9925 -0.9903 -0.9877 -0.9848 -0.9816

Columns 553 through 560

-0.9781 -0.9744 -0.9703 -0.9659 -0.9613 -0.9563 -0.9511 -0.9455

Columns 561 through 568

-0.9397 -0.9336 -0.9272 -0.9205 -0.9135 -0.9063 -0.8988 -0.8910

Columns 569 through 576

-0.8829 -0.8746 -0.8660 -0.8572 -0.8480 -0.8387 -0.8290 -0.8192

Columns 577 through 584

-0.8090 -0.7986 -0.7880 -0.7771 -0.7660 -0.7547 -0.7431 -0.7314

Columns 585 through 592

-0.7193 -0.7071 -0.6947 -0.6820 -0.6691 -0.6561 -0.6428 -0.6293

Columns 593 through 600

-0.6157 -0.6018 -0.5878 -0.5736 -0.5592 -0.5446 -0.5299 -0.5150

Columns 601 through 608

-0.5000 -0.4848 -0.4695 -0.4540 -0.4384 -0.4226 -0.4067 -0.3907

Columns 609 through 616

-0.3746 -0.3584 -0.3420 -0.3256 -0.3090 -0.2924 -0.2756 -0.2588

Columns 617 through 624

-0.2419 -0.2250 -0.2079 -0.1908 -0.1736 -0.1564 -0.1392 -0.1219

Columns 625 through 632

-0.1045 -0.0872 -0.0698 -0.0523 -0.0349 -0.0175 -0.0000

0.0175

Columns 633 through 640

0.0349

0.0523

0.0698

Columns 641 through 648

0.0872

0.1045

0.1219

0.1392

0.1564

0.1736

0.1908

0.2079

0.2250

0.2419

0.2588

0.2756

0.2924

0.3584

0.3746

0.3907

0.4067

0.4226

0.4848

0.5000

0.5150

0.5299

0.5446

0.6018

0.6157

0.6293

0.6428

0.6561

0.7071

0.7193

0.7314

0.7431

0.7547

0.7986

0.8090

0.8192

0.8290

0.8387

0.8746

0.8829

0.8910

0.8988

0.9063

Columns 649 through 656

0.3090

0.3256

0.3420

Columns 657 through 664

0.4384

0.4540

0.4695

Columns 665 through 672

0.5592

0.5736

0.5878

Columns 673 through 680

0.6691

0.6820

0.6947

Columns 681 through 688

0.7660

0.7771

0.7880

Columns 689 through 696

0.8480

0.8572

0.8660

Columns 697 through 704

0.9135

0.9205

0.9272

0.9336

0.9397

0.9455

0.9511

0.9563

0.9744

0.9781

0.9816

0.9848

0.9877

0.9962

0.9976

0.9986

0.9994

0.9998

Columns 705 through 712

0.9613

0.9659

0.9703

Columns 713 through 720

0.9903

0.9925

0.9945

Column 721

1.0000

>> plot(t, y1, 'r o', t, y2, 'g -')

>> plot(t, y1, 'r o', t, y2, 'g -')


>> t=0:0.1:10;%intervalo de representacion
>> subplot(2,2,1)%primera subventana de la matriz de graficos 2x2
>> y1=exp(-t);
>> plot(t,y1)
>> subplot(2,2,2)%primera subventana de la matriz de graficos 2x2
>> y2=t.*exp(-t);
>> plot(t,y2)
>> subplot(2,2,3)%tersera sub
>> y3=exp(-t).*cos(t);
>> plot(t,y3)
>> subplot(2,2,4)%cuarta subventana
>> y4=exp(t).*cos(t);
>> plot(t,y4)

>>

Vous aimerez peut-être aussi