final señales lab 3456,

Upload: juan-arnao-alarcon

Post on 05-Mar-2016

232 views

Category:

Documents


4 download

DESCRIPTION

señales magneticas

TRANSCRIPT

  • qwertyuiopasdfghjklzxcvbnmqwertyui

    opasdfghjklzxcvbnmqwertyuiopasdfgh

    jklzxcvbnmqwertyuiopasdfghjklzxcvb

    nmqwertyuiopasdfghjklzxcvbnmqwer

    tyuiopasdfghjklzxcvbnmqwertyuiopas

    dfghjklzxcvbnmqwertyuiopasdfghjklzx

    cvbnmqwertyuiopasdfghjklzxcvbnmq

    wertyuiopasdfghjklzxcvbnmqwertyuio

    pasdfghjklzxcvbnmqwertyuiopasdfghj

    klzxcvbnmqwertyuiopasdfghjklzxcvbn

    mqwertyuiopasdfghjklzxcvbnmqwerty

    uiopasdfghjklzxcvbnmqwertyuiopasdf

    ghjklzxcvbnmqwertyuiopasdfghjklzxc

    vbnmqwertyuiopasdfghjklzxcvbnmrty

    uiopasdfghjklzxcvbnmqwertyuiopasdf

    ghjklzxcvbnmqwertyuiopasdfghjklzxc

    vbnmqwertyuiopasdfghjklzxcvbnmqw

    ANALISIS DE SEALES

    LABORATORIOS 3 4 5 Y 6

    PROFESOR: PAZ PURIZACA ALUMNO: ARNAO ALARCON JUAN SALVADOR COD: 2012100232

  • LABORATORIO: 3 SEALES CONTINUAS I. OBJETIVO

    Simular en MATLAB la representacin y manejo de seales.

    Representar las seales continuas en distintos intervalos de tiempo y amplitud. II. MARCO TERICO El objeto bsico usado en MATLAB es una matriz numrica con la posibilidad de almacenar nmeros complejos. Los datos encontrados en el estudio de seales y sistemas son siempre, muy bien representados en forma de matrices. En esta seccin se usara MATLAB para la generacin de seales elementales como lo son las seales exponenciales, senoidales, etc. PDS es una aplicacin inteligente y comprensiva de diseo e ingeniera asistida por computadora en nuestro caso por MATLAB. III. SEALES EXPONENCIALES. Las seales exponenciales se pueden clasificar segn su comportamiento en decrecientes y crecientes. El comando en MATLAB para generar unas seales exponenciales decrecientes:

  • EJERCICIO 1:

    t=0:0.01:5; y1=3*sin(2*pi*t); y2=5*sin(2*pi*t); y3=6*sin(2*pi*t); t4=1:0.01:5; y4=2.^t4; plot(t,y1,'r',t,y2,

    'y',t,y3,'g',t4,y4,

    'k'); axis([0 5 -7 30]); grid on; title('seales

    continuas'); xlabel('variable

    x'); xlabel('variable

    y');

    EJERCICIO 2:

    t=0:0.01:5; y1 = 3*sin(2*pi*t); y2 = 5*exp(i/2*pi*t); y3 = 6*cos(2*pi*t); t4 = 1:0.01:5; y4 = 2.^t4; subplot(2,2,1); plot(y1); axis([-5 500 -5

    5]); grid on; title('1 Seales

    Continuas'); subplot(2,2,2); plot(y2); axis([-5 5 -5 5]); grid on; title('2 Seales

    Continuas'); subplot(2,2,3); plot(y3); axis([-8 300 -8

    8]); grid on; title('3 Seales

    Continuas'); subplot(2,2,4); plot(y4);

  • axis([-4 500 0 30]); grid on; title('4 Seales Continuas');

    EJERCICIO 3:

    A=4; f=1; W0=2*pi*f; t=0:0.001:1; fase=pi/6; senoidal=A*sin(W0*t+

    fase); figure(1); plot(t,senoidal); cosenoidal=A*cos(W0*

    t+fase); figure(2); plot(t,cosenoidal);

    EJERCICIO 4:

    A=1;

    f=100; T=1/f; Tm=3*T; W0=2*pi*f; N=50; Tao=Tm/N; t=0:tao:Tm; fs=1/tao; df=fs/N; fref=-fs/2:df:fs/2; fase=pi/6; senoidal=A*sin(W0*t+fase); senoidal1=A*sin(W0*fref+fase); senoidal2=A*sin(W0*t+fase); senoidales=senoidal+senoidal2; figure(1); plot(t,senoidal,t,senoidales);

  • EJERCICIO 5:

    clear hall clc subplot(221)%hoja para 4 imagenes,en(1,1) t=-pi:0.01:pi;%genera vector tiempo y1=sin(3*t)./t; plot(t,y1);%grfica en (1,1) title('funtion samplig') subplot(222)%en

    (1,2) stem(t,y1);%gr

    fica en (1,2) title('funtion

    discrete'); subplot(223)%en

    (2,1) t=0:pi/50:10*pi

    ; plot3(sin(t),co

    s(t),t);%grfic

    a en 3D,

    posicin(2,1) title('hlice') subplot(224);%e

    n (2,2) x=-8:0.5:8; y=x [x,y]=meshgrid(

    x,y);

    %convierte

    vectores a

    matrices de tamao de x R=sqrt(x.^2+y.^2); z=sin(R)./R; mesh(z);% grafica en 3D grid title('sampling in 3D');

  • Conclusiones:

  • LABORATORIO: 4

    LABORATORIO 4

    CONVOLUCION

    MARCO TEORICO

  • 1.- grafico

    T=0.05; t=-0.5:T:0.5; y=1+square(2*pi*t); z=1+sawtooth(2*pi*t); v=exp(-t); x=conv(y,z); subplot(1,3,1),plot(y); grid on; axis([0 40 0 3]); subplot(1,3,2),plot(z); grid on; subplot(1,3,3),plot(x); grid on; figure

  • 2.- T=0.05; t=-0.5:T:0.5; y=1+square(2*pi*t); z=1+sawtooth(2*pi*t); v=exp(-t); x=conv(v,z); subplot(1,3,1),plot(v); grid on; subplot(1,3,2),plot(z); grid on; subplot(1,3,3),plot(x); grid on; figure

  • 3.-

    T=0.05; t=-0.5:T:0.5; y=1+square(2*pi*t); z=1+sawtooth(2*pi*t); v=exp(-t); x=conv(v,y); subplot(1,3,1),plot(v); grid on; subplot(1,3,2),plot(y); axis([0 40 0 3]); grid on; subplot(1,3,3),plot(x); grid on;

  • 4.-

    T=0.05; t=-0.5:T:0.5; y=1+square(2*pi*t); z=1+sawtooth(2*pi*t); v=exp(-t); n=conv(v,z) x=conv(n,z); subplot(1,3,1),plot(v); grid on; subplot(1,3,2),plot(n); axis([0 100 0 30]); grid on; subplot(1,3,3),plot(x); grid on;

  • 5.- ESCALON UNITARIO :

    t=-5 :.001:5; f=ustep(t) plot(t,f,'LineWidth',3,'color','r'); axis([-5 5 -2 2]); hold on ; grid on; plot([-5 5],[0 0]); plot([0 0],[-2 2]); title('combinacion de seales por egp'); xlabel('variable independiente'); ylabel('u(t)');

    6.-

    t=-5 :.001:5; f=ustep(t+1)-2*ustep(t+1)+2*ustep(t-3); plot(t,f,'LineWidth',3,'color','r'); axis([-5 5 -2 2]); hold on ; grid on; plot([-5 5],[0 0]); plot([0 0],[-2 2]); title('combinacion de seales escalon');

  • 7.-

    t=-5:.01:5; x=(exp(-3*t).*ustep(t+2))+(exp(3*t).*ustep(-t+2)); plot(t,x); grid on;

  • 8.- funcin delta

    t=-5:.01:5; delta1=udelta(t); delta2=diff(ustep(t)); plot(t,delta1);

    9.- RAMPA

    t=-10:001:10; x=2*uramp(t)-2*uramp(t-2)-uramp(t+1)+uramp(t-3); plot(t,x);

  • 10.- EJEMPLO DE CONVOLUCION

    t=0 :.001:3; f= ustep(t-1).*ustep(2-t) plot(t,f,'LineWidth',3,'color','r'); COLOR ROJO axis([0 3 0 1.5]); hold on ; grid on; plot([0 3],[0 0]); plot([0 0],[0 1.5]); title('grafica de la seal escalon unitario'); xlabel('variable independiente'); ylabel('u(t)');

  • 11.- PROBLEMA DE CLASE

    problema 1

    t=0 :.001:3; x= uramp(t).*ustep(1-t) plot(t,x,'LineWidth',3,'color','g'); axis([-1 2 0 1.5]); grid on figure t=0:0.001:6; f=ustep(t-2).*ustep(4-t); plot(t,f,'LineWidth',4,'color','r'); grid on; figure v=conv(x,f); plot(v);

  • problema 2

    t=0:0.01:4 x=exp(2*(t)).*ustep(t) plot(t,x,'LineWidth',3,'color','g'); axis([-1 1 0 1.5]); grid on figure t=0:0.01:4; f=ustep(t-2); plot(t,f,'LineWidth',4,'color','r'); grid on; figure v=conv(x,f); plot(v);

  • problema 3

    t=0:0.01:3 x=exp(-abs(t)).*ustep(t+2).*ustep(2-t) plot(t,x,'LineWidth',3,'color','g'); axis([-1 1 0 1.5]); grid on figure t=0:0.01:3; f=ustep(t-1).*ustep(2-t); plot(t,f,'LineWidth',4,'color','r'); grid on; figure v=conv(x,f); plot(v);

  • problema4

    t=0:0.001:1 x=1 plot(t,x,'LineWidth',3,'color','g'); axis([0 1 0 1.5]); grid on figure t=0:0.001:1; f=1 plot(t,f,'LineWidth',4,'color','r'); axis([0 1 0 1.5]); grid on; figure v=conv(x,f); plot(v);

  • LABORATORIO: 5

    LAB 05: LTI - EJERCICIO 1:

  • EJERCICIO 2:

  • EJERCICIO 3: A

  • EJERCICIO 3: B

  • EJERCICIO 4:

  • EJERCICIO 5:

  • EJERCICIO 6:

  • LABORATORIO: 6

    LAB 06: TRANSFORMADA DE FOURIER

  • EJERCICIO 6: