フィルターのクリア

printing output

2 ビュー (過去 30 日間)
milad babaei
milad babaei 2011 年 6 月 18 日
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/.

回答 (1 件)

Paulo Silva
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')

カテゴリ

Help Center および File ExchangeHypothesis Tests についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by