Anda di halaman 1dari 4

FUNCIONES MS COMUNES EN MATLAB

FUNCIONES DENSIDAD DE PROBABILIDAD MS COMUNES EN MATLAB

Ortega Vintimilla Hugo Gabriel


gabo_45@hotmail.es
Electrnica e Instrumentacin, UNIVERSIDAD DE LAS FUERZAS ARMADAS-ESPE
Extensin Latacunga, Mrquez de Maenza S/N Latacunga, Ecuador.

Funciones en Matlab.
FUNCION NORMAL
CDIGO:
x = 0:0.1:15;
y = normpdf(x,6);
plot(x,y)
title('FUNCION NORMAL');

GRFICA:

FUNCION BINOMIAL

CDIGO:
x = 0:30;
y = binopdf(x,50,0.2);
plot(x,y)
title('FUNCIN BINOMIAL');
GRFICA:

FUNCIN DE POISSON
CDIGO:
x = 0:1:60;
y = poisspdf(x,40);
plot(x,y)
title('FUNCION POISSON');

GRFICA:

FUNCIN DISTRIBUCIN GAMMA CDIGO:


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

FUNCION RAYLEIGH
CODIGO:
x = [0:0.05:5];

p = raylpdf(x,0.7);
plot(x,p)
title('FUNCIN RAYLEIGH');
GRFICA:

Anda mungkin juga menyukai