Student Support Forum: 'Map a bidimensional function and interpolate' topicStudent Support Forum > General > "Map a bidimensional function and interpolate"

 Next Comment > Help | Reply To Topic
 Author Comment/Response Javier 10/25/12 2:28pm The problem I have is the following. I define a bidim. function: test[x_, y_] := x + y; I want to map it to later interpolate so I have tried doing this: TEST = Table[{{x, y }, test[x, y ]}, {x, 0, 2}, {y, 1, 2}]; and this is the output: {¿{?{{0, 1}, 1}, {{0, 2}, 2}}, {{{1, 1}, 2}, {{1, 2}, 3}¿}?, ¿{?{{2, 1}, 3}, {{2, 2}, 4}¿}?} The curly brackets between the ¿? (which I have added just to sign the { ) make that interpolate interprets a group of ¿{?{{x1,y1},f11},{{x1,y2},f12}...¿}? as a single point so it gives an error. I do not know how to make the 2dim data list properly. Thanks in advance for you answer. URL: ,

 Subject (listing for 'Map a bidimensional function and interpolate') Author Date Posted Map a bidimensional function and interpolate Javier 10/25/12 2:28pm Re: Map a bidimensional function and interpolate David 10/25/12 10:55pm Re: Re: Map a bidimensional function and interp... Javier 10/26/12 1:34pm
 Next Comment > Help | Reply To Topic