MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Unwrap list of angles

  • To: mathgroup at smc.vnet.net
  • Subject: [mg73290] Re: [mg73262] Unwrap list of angles
  • From: luhao <luhaorice at gmail.com>
  • Date: Fri, 9 Feb 2007 23:38:56 -0500 (EST)
  • References: <200702090718.CAA18382@smc.vnet.net>

ben wrote:
> Dear all
> 
> I am looking for a Mathematica-analogue of the unwrap function in another system:
> I have a list of angles and want to add multiples of 2*pi to them, so
> that there
> are no 'jumps' between subsequent entries.
> Is there a ready-made function?
> 
> Bye
> Ben
Hi, Ben
Do you mean confine then in a certain range (as [0, Pi])? 

A "dirty" way is:
Table[Random[Real, 100], {i, 1, 100}];
Cos[%];
ArcCos[%]

Hao


  • Prev by Date: limit behavior, part 2
  • Next by Date: Publicon style sheets
  • Previous by thread: Unwrap list of angles
  • Next by thread: Re: Unwrap list of angles