Skip to content

Signal Offline on Fourier Series. Used Square,Sawtooth,Triangular,Sine & Cosine Function to compare the approximation with original wave.

Notifications You must be signed in to change notification settings

redom13/Signal_Offline2

Repository files navigation

Fourier Series Approximation

A Python program to approximate a given function using Fourier series expansion. The FourierSeries class calculates Fourier coefficients and provides a visual approximation of the function based on the given number of terms.

Features

  • Approximates functions using Fourier series.
  • Supports customizable terms for Fourier expansion.
  • Visualizes the approximation against the target function.

Important Note

All the target functions must be periodic with a period of 2π. For me sawtooth and triangular wave was tough to generate. So, I added an explanation of how I generated them in the code. I only provided the explanation for the triangular wave here. If you understand how to generate the triangular wave, you can easily generate the sawtooth wave.

About

Signal Offline on Fourier Series. Used Square,Sawtooth,Triangular,Sine & Cosine Function to compare the approximation with original wave.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages