Re: Question on Rescale[]
- To: mathgroup at smc.vnet.net
- Subject: [mg103320] Re: [mg103296] Question on Rescale[]
- From: DrMajorBob <btreat1 at austin.rr.com>
- Date: Tue, 15 Sep 2009 04:25:25 -0400 (EDT)
- References: <200909141110.HAA08833@smc.vnet.net>
- Reply-to: drmajorbob at yahoo.com
What did you expect? Bobby On Mon, 14 Sep 2009 06:10:05 -0500, Alexey <lehin.p at gmail.com> wrote: > Hello, > Consider the following: > > In[1]:= r=Rescale[x,{min,max}] > Rescale[2,{-Infinity,Infinity}] > r/.{x->2,min->-Infinity,max->Infinity} > Out[1]= -(min/(max-min))+x/(max-min) > Out[2]= 1/Sqrt[2] > During evaluation of In[1]:= \[Infinity]::indet: Indeterminate > expression 0 (-\[Infinity]) encountered. >> > Out[3]= Indeterminate > > At this moment I can not imagine why Rescale[2,{-Infinity,Infinity}] > gives 1/Sqrt[2]. Is this behavior correct? > -- DrMajorBob at yahoo.com
- References:
- Question on Rescale[]
- From: Alexey <lehin.p@gmail.com>
- Question on Rescale[]