Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #4480

Re: Inverse Interpolation

From "Oleksandr Rasputinov" <oleksandr_rasputinov@hmamail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Inverse Interpolation
Date 2011-08-19 10:41 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <j2lelg$ni5$1@smc.vnet.net> (permalink)
References <j2iens$bkv$1@smc.vnet.net>

Show all headers | View raw


On Thu, 18 Aug 2011 08:24:44 +0100, WetBlanket <wyvern864@gmail.com> wrote:

> Previously, the following code could be used to use the Plot functions
> algorithm to select point at which to evaluate a function to assist in
> obtaining a good numerical interpolation.  In Version 8 this code does
> not seem to work ( at least for me).  Can someone assist me by showing
> how this task is best accomplished in Version 8.  I use the Cos
> function in this example for simplicity.  Clearly, numerical
> interpolation is not needed to obtain an inverse for the Cos.
>
> list={};
> F = Cos[x];
>
> Plot[ (  ss=F;  AppendTo[list, {ss,x}]; ss), {x,-1,1}, PlotPoints-
>> 1000,
> PlotRange->All, AxesLabel->{"x","F"}]
>
> Thanks for the help.
>

list = {};
F = Cos[x];

Plot[
  F, {x, -1, 1},
  PlotPoints -> 1000, PlotRange -> All, AxesLabel -> {"x", "F"},
  EvaluationMonitor :> AppendTo[list, {F, x}]
]

Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Inverse Interpolation WetBlanket <wyvern864@gmail.com> - 2011-08-18 07:24 +0000
  Re: Inverse Interpolation "Alexey Popkov" <lehin.p@gmail.com> - 2011-08-19 10:40 +0000
  Re: Inverse Interpolation "Oleksandr Rasputinov" <oleksandr_rasputinov@hmamail.com> - 2011-08-19 10:41 +0000

csiph-web