Borrar filtros
Borrar filtros

how to plot a gaussian1D for probability density of the normal distribution

4 visualizaciones (últimos 30 días)
gaussian = (1/sqrt(2*pi*vars(k)))*exp(-(x(p)-means(k)).^2/(2*vars(k)));

Respuesta aceptada

Birdman
Birdman el 2 de Dic. de 2017
Editada: Birdman el 2 de Dic. de 2017
There is a built in function for it, called normpdf. You do not need to write the function by yourself.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by