Re: How to get Manipulate results into a variable? tia sal2
- To: mathgroup at smc.vnet.net
- Subject: [mg86153] Re: How to get Manipulate results into a variable? tia sal2
- From: Peter Breitfeld <phbrf at t-online.de>
- Date: Mon, 3 Mar 2008 04:42:58 -0500 (EST)
- References: <fqeted$jk8$1@smc.vnet.net>
Sal2 schrieb: > How to get Manipulate results into a variable? tia sal2 > > > Greetings All > > How can I link variables to the results from the manipulate command. > > Example: I would like the output of this command linked to another variable say x. > > Manipulate[Factor[x^n - 1], {n, 10, 100, 1}] > > tia sal2 > Try: In[1]:=Manipulate[remember = Factor[x^n - 1], {n, 10, 100, 1}] Now the last displayed result of Manipulate ist stored in the variable "remember" In[2]:=remember You can see the changes if you enter: In[3]:=Dynamic[remember] but then you can't do e.g. x=remember because of recursion. Gruss Peter -- ==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-== Peter Breitfeld, Bad Saulgau, Germany -- http://www.pBreitfeld.de