The simplest way is just to call it in a loop:
x = zeros(1,100);
for i = 1:100
x(i) = my_func();
end
And then:
hist(x)
solved How to generate samples from a random number generator in matlab? [closed]
The simplest way is just to call it in a loop:
x = zeros(1,100);
for i = 1:100
x(i) = my_func();
end
And then:
hist(x)
solved How to generate samples from a random number generator in matlab? [closed]