MathGroup Archive 2007

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

Search the Archive

Re: Unwrap list of angles


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