Generating samples of two dimensional random variable
이전 댓글 표시
First I want to generate a two-dimensional random variable (X1,X2) where X1 is from unif [0,1] and X2 is independently from unif [0,x1] and I want to generate a Y*2Z matrix where each row will consists of Z independent draws of (X1, X2). What will be a compact way to write this code?
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Univariate Discrete Distributions에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!