8
Procesos Estocásticos Ing. Armando Álvarez DEPARTAMENTO DE ELÉCTRICA Y ELECTRÓNICA CARRERA DE ING. EN ELECTRÓNICA E INSTRUMENTACIÓN DEBER 8 ASIGNATURA: PROCESOS ESTOCÁSTICOS. Unidad II TEMA: FUNCIONES DENSIDAD DE PROBABILIDAD. (Gráficas) Hrs. de la asignatura 4 Hrs (4 Teoría) Responsable de la Asignatura: Armando Álvarez. Nombre del Estudiante Christian Chasi Fecha de envío de la tarea: 16 de Junio del 2015 Fecha de entrega de la tarea: 19 de Junio del 2015

Graficas Fdp

Embed Size (px)

DESCRIPTION

Gráficas en matlab de Funciones densidad de probabilidad mas comunes

Citation preview

  • Procesos Estocsticos Ing. Armando lvarez

    DEPARTAMENTO DE ELCTRICA Y ELECTRNICA

    CARRERA DE ING. EN ELECTRNICA E INSTRUMENTACIN

    DEBER 8 ASIGNATURA: PROCESOS ESTOCSTICOS.

    Unidad II

    TEMA: FUNCIONES DENSIDAD DE PROBABILIDAD. (Grficas)

    Hrs. de la asignatura 4 Hrs (4 Teora)

    Responsable de la Asignatura: Armando lvarez.

    Nombre del Estudiante

    Christian Chasi

    Fecha de envo de la tarea: 16 de Junio del 2015 Fecha de entrega de la tarea: 19 de Junio del 2015

  • Procesos Estocsticos Ing. Armando lvarez

    BERNOULLI CDIGO: x = 0:10; y = binopdf(x,10,0.5); stem(x,y) title('FUNCION BERNOULLI'); GRFICA:

    GAUSSIANA O NORMAL CDIGO: x = 0:0.1:15; y = normpdf(x,6); plot(x,y) title('FUNCION NORMAL'); GRFICA:

  • Procesos Estocsticos Ing. Armando lvarez

    POISSON CDIGO: x = 0:1:60; y = poisspdf(x,40); stem(x,y) title('FUNCION POISSON'); GRFICA:

  • Procesos Estocsticos Ing. Armando lvarez

    LAPLACE

    CDIGO

    function y = lappdf(x,alpha); y = alpha*exp(-alpha*abs(x))/2; x = linspace(-10,10,2001); y = lappdf(x,0.7); plot(x,y)

    GRAFICA:

    ERLANG

    CODIGO: for(x=0:.4:6) for (lam=1:.5:3) k=2; fun=((lam^k)*(x^(k-1))*(exp(-1*lam*x)))/(factorial(k-1)) ; hold on stem(x,fun,'g') end end title('FUNCION ERLANG');

    GRAFICA:

  • Procesos Estocsticos Ing. Armando lvarez

    CAUCHY

    CDIGO function y = cauchy(x,x0,alpha) y = alpha./(pi*(alpha^2 + (x - x0).^2)); x = linspace(-10,10,2001); y = cauchy(x,2,0.5); plot(x,y) xlabel('x') ylabel('p') title('PDF de Cauchy con x_{0} = 2 y \alpha = 0.5')

    GRFICA:

  • Procesos Estocsticos Ing. Armando lvarez

    RAYLEIGH CODIGO: x = [0:0.05:5]; p = raylpdf(x,0.7); plot(x,p) title('FUNCIN RAYLEIGH'); GRFICA:

    WEIBULL CODIGO: x = [0:0.1:5]; y = weibpdf(x,0.7,1.5); plot(x,y ,'k') title('FUNCIN WEIBULL') GRFICA:

  • Procesos Estocsticos Ing. Armando lvarez

    RICE CDIGO: clc clear all b=5; a=8; x=0:0.1:10 y=(x.*exp(-x.^2/2.*a))/a plot (x,y) title('Funcin de Rice');

    GRFICA:

  • Procesos Estocsticos Ing. Armando lvarez

    GAMA

    CDIGO: rat = -1:0.01:80; Y = gampdf(1,1,rat) plot(rat,Y) title('Funcion Distribucin Gamma'); GRFICA