Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Manipulating table' topicStudent Support Forum > General > Archives > "Manipulating table"

< Previous CommentHelp | Reply To Comment | Reply To Topic
Author Comment/Response
Michael
09/10/12 9:15pm

The code works for me -- that is, no error -- with a new kernel (no pre-existing definitions in the kernel).

The use of SetDelayed (:=) for data[n_] means a new data set is generated every time a Manipulate button is clicked. That seems odd to me, but maybe it's what you wanted.

The use of data[[i]] in the definitions of g[1] and g[2] does not match the definition of data[n_]. You probably want something like data[k][[i]], but you'll have to pass k to g.

URL: ,

Subject (listing for 'Manipulating table')
Author Date Posted
Manipulating table luis 09/08/12 6:58pm
Re: Manipulating table Michael 09/10/12 9:15pm
< Previous CommentHelp | Reply To Comment | Reply To Topic