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

조회 수: 2 (최근 30일)
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,...}; ...

답변 (1개)

Sindhuja Parimalarangan
Sindhuja Parimalarangan 2017년 7월 28일
You can look into these functions to create n-dimensional random values based on a probability distribution:
  댓글 수: 1
Christian Kurniawan
Christian Kurniawan 2017년 7월 28일
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?

댓글을 달려면 로그인하십시오.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by