Question on Rescale[]
- To: mathgroup at smc.vnet.net
- Subject: [mg103296] Question on Rescale[]
- From: Alexey <lehin.p at gmail.com>
- Date: Mon, 14 Sep 2009 07:10:05 -0400 (EDT)
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?
- Follow-Ups:
- Re: Question on Rescale[]
- From: DrMajorBob <btreat1@austin.rr.com>
- Re: Question on Rescale[]