Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #1499
| From | Nabeel Butt <nabeel.butt@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Interpolation on regions |
| Date | 2011-04-06 09:13 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <inhas0$2a5$1@smc.vnet.net> (permalink) |
Dear All,
Since Mathematica's interpolation works better for rectangular regions I
was playing around with the Interpolation command. I was wondering that if
Mathematica's assumes that the cordinates in the rectangular region when
passed on to Interpolation assumes as if they are of the same form as in
generated from Table. What would be a way to correct the code I have because
of I have the same set of points in a rectangular region but not ordered
like as in a Table it still assumes that the region is unstructured. I
attach my code below .Thanks !
Nabeel
tlist=Union[Flatten[Table[{{{x,y},(x-0.25)^2+(y-0.25)^2},{{1-x,1-y},(x-0.25)^2+(y-0.25)^2}},{x,0,1,0.1},{y,0,1-x,0.1}],2]]
g=Interpolation[tlist]
tlist=Union[Flatten[Table[{{x,y},(x-0.25)^2+(y-0.25)^2},{x,0,1,0.1},{y,0,1,0.1}],1]]
g=Interpolation[tlist]
--
"We have not succeeded in answering all our problems.The answers we have
found only serve to raise a whole set of new questions.In some ways we feel
that we are as confused as ever,but we believe we are confused on a higher
level and about more important things."
"Maybe one day we get to see all the beauty present in this world"
Nabeel Butt
UWO,London
Ontario, Canada
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Interpolation on regions Nabeel Butt <nabeel.butt@gmail.com> - 2011-04-06 09:13 +0000
csiph-web