How to generate random multidimensional samples using a custom multidimensional probability distribution?

2 visualizaciones (últimos 30 días)
Is there any matlab function that can generate multidimensional samples using a custom multidimensional probability distribution function? I want to generate multidimensional samples using a custom multidimensional PDF. For example, I have a custom made PDF: P(A) where A = {a1,a2,a3,...}; in other word the PDF is P(a1,a2,a3,...). I want to generate samples {A1,A2,A3,..} from P(A) where A1 = {a11,a12,a13,...}; A2 = {a21,a22,a23,...}; A3 = {a31,a32,a33,...}; ...

Respuestas (1)

Sindhuja Parimalarangan
Sindhuja Parimalarangan el 28 de Jul. de 2017
You can look into these functions to create n-dimensional random values based on a probability distribution:
  1 comentario
Christian Kurniawan
Christian Kurniawan el 28 de Jul. de 2017
Thank you for your answer. However, if I understand it correctly, mvrnd uses normal distribution to generate the random number and random is only support the pdf available in distribution toolbox. On the other hand, I want to use my own custom pdf. Do I misunderstood the mvrnd and random function?

Iniciar sesión para comentar.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by