MathGroup Archive 1997

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

Search the Archive

Anti-Chop Function


The Chop[Data, Min] sets all values in Data that are < Min equal to 0.  Is 
there an equivalent function that will take all values in Data that are > 
Max and set them equal to 0?  I'm trying to eliminate the DC components 
of a Fourier transform, and the only way I've been able to do it to date 
is buy manually Delete[]-ing the first value and Insert[] -ing 0.


Mat
---
Mathew Jason Binkley - Astronomy TA  | "It was the dawn of the Third Age 
Wake Forest University - Olin 304    |  of mankind, the year the Great
Phone: (910) 759-4957                |  War came upon us all."
WWW:   http://www.wfu.edu/~binklmj5/ |  - John Sheridan, Babylon 5


  • Prev by Date: Formatting of lines in MMA 2.2 Solaris
  • Next by Date: Re: Binomial Coefficients
  • Previous by thread: Formatting of lines in MMA 2.2 Solaris
  • Next by thread: Re: Anti-Chop Function