printing output

2 visualizaciones (últimos 30 días)
milad babaei
milad babaei el 18 de Jun. de 2011
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/.

Respuestas (1)

Paulo Silva
Paulo Silva el 18 de Jun. de 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')

Categorías

Más información sobre Hypothesis Tests en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by