printing output
1 view (last 30 days)
Show older comments
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 Comments
Answers (1)
Paulo Silva
on 18 Jun 2011
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 Comments
See Also
Categories
Find more on Hypothesis Tests in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!