10,606 reputation
11659
bio website
location
age
visits member for 2 years, 8 months
seen 2 days ago

Sep
17
awarded  Notable Question
Sep
16
awarded  Custodian
Sep
16
reviewed Close Finding exponential model from data
Sep
6
comment How do I draw a triangle given the lengths of the sides?
Yes, that makes things so much easier. There are other triangle options too. E.g. SASTriangle
Sep
5
comment Find intersecting rectangles groups
In v. 10 (which I do not have), it seems that RegionQ[RegionIntersection[rect1,rect2]] will be true if rect1 intersects with rect2.
Aug
30
comment Mapping points on the unit circle
Do the circle and square have the same center? (e.g. {0,0})?
Aug
30
comment Mapping points on the unit circle
Assuming that a map is a function, by what criterion should the mapping be done? Closest (highlighted) point on the unit circle?
Aug
8
comment Removing some data and replacing them with new ones
BTW, see Differences reference.wolfram.com/language/ref/Differences.html
Aug
8
comment Removing some data and replacing them with new ones
"remove the ones which are higher than a specific number"? Remove the differences? Or remove some elements? Or substitute some elements with new ones? Or add new elements?
Jul
11
revised Random numbers that sum up to specific value
analysis added
Jul
11
revised Random numbers that sum up to specific value
edited body
Jul
11
comment Random numbers that sum up to specific value
george2079, Now I understand. Thanks for noting (and explaining).
Jul
10
comment Random numbers that sum up to specific value
@george2079 I'm unsure what you mean by "at the ends". RandomSample[Range[0, 5], 5 - 1] will often generate zero among the elements (at any position).
Jul
10
revised Random numbers that sum up to specific value
added 19 characters in body
Jul
10
comment Random numbers that sum up to specific value
Strange about disfavoring zeros. Zeros occur due to the repetition of "cuts".
Jul
10
comment Random numbers that sum up to specific value
Oops. Parameter name change at last minute.... Fixed.
Jul
10
revised Random numbers that sum up to specific value
correction
Jul
10
revised Random numbers that sum up to specific value
link to video
Jul
10
answered Random numbers that sum up to specific value
Jul
10
comment Random numbers that sum up to specific value
@Szabolcs, The constraint that the set sums to s seems to violate the normal sense of randomness that your reasoning appears to rely on. Assuming that the elements are understood to be non-negative, then the generation of each positive element further constrains the domain from which subsequent elements may be chosen. Of course, that doesn't justify using any method. One might approach the challenge by generating 4 random whole numbers between 0 and sum that would be used as 'cuts', in Dedekind's sense. The differences would be used as the random numbers.