I would like to build a Manipulate object, for which some variables will be related to corresponding controls. For example, in this simple Manipulate object, if I change any slider control, both variables mu1
and mu2
are recalculated
Manipulate[
S1 = RandomVariate[NormalDistribution[mu1, 1], 10];
S2 = RandomVariate[NormalDistribution[mu2, 1], 10];
TableForm[{S1, S2}], {mu1, -1, 1}, {mu2, -1, 1}]
Is it possible to establish recalculation for each variable separately: when the 1st control is changed, only mu1
is recalculated; when 2nd--- only mu2
?