printing output
조회 수: 2 (최근 30일)
이전 댓글 표시
This function will generate a normal distribution conditional by bounds:
i have run above code 3times and produced 3diffrent random variables.i would like to know is there any way to have these 3outputs that each of them has a format like this X(1,i),i=1e4,in one vector or matrix and then print that??or please let me know if another sufficient way to print those 3random variables/.
댓글 수: 0
답변 (1개)
Paulo Silva
2011년 6월 18일
I have no idea how the function works, here's just a few basic tips:
X1 = TruncatedGaussian(sigma1, range1, n) %first test
X2 = TruncatedGaussian(sigma2, range2, n2) %second test
X3 = TruncatedGaussian(sigma3, range3, n3) %third test
clf
hold on
plot(X1)
plot(X2)
plot(X3)
legend('test 1','test 2', 'test 3')
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Hypothesis Tests에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!