How to find guassian distribution

2 visualizaciones (últimos 30 días)
Silpa K
Silpa K el 6 de Nov. de 2019
Respondida: Mahesh Taparia el 20 de Nov. de 2019
How to find gaussian distribution of an image using mean=128 and variance=1689.2347.
  1 comentario
KALYAN ACHARJYA
KALYAN ACHARJYA el 6 de Nov. de 2019
Can you elaborate more? Using imhist you can estimate the PDF

Iniciar sesión para comentar.

Respuestas (1)

Mahesh Taparia
Mahesh Taparia el 20 de Nov. de 2019
Hi Shilpa,
It seems either you want to generate the histogram of an image or you want to generate a matrix which follows guassian distribution with mean 128 and variance 1689.2347.
You can generate histogram by using imhist command as
imhist(image)
For more information refer to documentation page of imhist in the link given below:
You can generate guassian random variable using normrnd command.
A=normrnd(128, sqrt(1689.2347),[m,n]);
For more information refer to the below link of documentation page of normrnd command:

Categorías

Más información sobre Histograms en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by