Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #1516
| From | Christopher Arthur <aarthur@tx.rr.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Interpolation on regions |
| Date | 2011-04-07 12:04 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <ink98p$g86$1@smc.vnet.net> (permalink) |
Try fixing one variable and interpolating many functions that way...
Nabeel Butt a =E9crit :
> 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]
>
>
>
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Re: Interpolation on regions Christopher Arthur <aarthur@tx.rr.com> - 2011-04-07 12:04 +0000
csiph-web