Code covered by the BSD License  

Highlights from
Fourier series with sigma approximation

Be the first to rate this file! 4 Downloads (last 30 days) File Size: 2.52 KB File ID: #29720

Fourier series with sigma approximation

by Abhishek Ballaney

 

15 Dec 2010

Fourier series with sigma approximation

| Watch this File

File Information
Description

Program FFTSIGMA plots Fourier series representations with sigma approximation. The figures show effects of
  the number of series terms and use of Lanczos sigma factors
  to smooth Gibbs oscillations. The Fourier series of a periodic function with period px has the approximate
  form:
  
  f(x) = sum( exp(2i*pi/px*k*x)*c(k),...
                    k=-n:n)
  
  If the function has discontinuities, a better approximation
  can sometimes be produced by using a smoothed function fa(x)
  obtained by local averaging of f(x) as follows:
  
  fa(x) = integral(f(x+u)*du, -s<u<+s )/(2*s)
  
  where s is a small fraction of px. Wherever f(x) is
  smooth, f and fa will agree closely, but sharp edges of f(x)
  get rounded off in the averaged function fa(x). The Fourier
  coefficients ca(k) for the averaged function are simply
  ca(k) = c(k)*sig(k) where the sigma factors sig(k) are
  sig(k) = sin(sin(2*pi*s*k/px)*/(2*pi*s*k/px))
  ( SEE Chapter 4 of 'Applied Analysis' by Cornelius Lanczos )

Acknowledgements

The author wishes to acknowledge the following in the creation of this submission:
Double Fourier Series Surface Plotting

MATLAB release MATLAB 7.6 (R2008a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
fourier series Abhishek Ballaney 15 Dec 2010 09:46:34
sigma approximation Abhishek Ballaney 15 Dec 2010 09:46:34
lanczos Abhishek Ballaney 15 Dec 2010 09:46:34

Contact us at files@mathworks.com