Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #1499 > unrolled thread
| Started by | Nabeel Butt <nabeel.butt@gmail.com> |
|---|---|
| First post | 2011-04-06 09:13 +0000 |
| Last post | 2011-04-06 09:13 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
Interpolation on regions Nabeel Butt <nabeel.butt@gmail.com> - 2011-04-06 09:13 +0000
| From | Nabeel Butt <nabeel.butt@gmail.com> |
|---|---|
| Date | 2011-04-06 09:13 +0000 |
| Subject | Interpolation on regions |
| Message-ID | <inhas0$2a5$1@smc.vnet.net> |
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 top | Article view | comp.soft-sys.math.mathematica
csiph-web