View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Fourier series of square wave. Demo of Gibbs phenomenon with overshoot calculation

Join the 15-year community celebration.

Play games and win prizes!

» Learn more

5.0
5.0 | 1 rating Rate this file 7 Downloads (last 30 days) File Size: 2.66 KB File ID: #43590 Version: 1.14
image thumbnail

Fourier series of square wave. Demo of Gibbs phenomenon with overshoot calculation

by

 

23 Sep 2013 (Updated )

This file gives a simple demonstration of how a square wave can be approximated by Fourier series.

| Watch this File

File Information
Description

This file gives a simple demonstration of how a square wave can be approximated by Fourier series. It does the following:
1) It demonstrates the effect of truncation of Fourier series coefficients, also known as Gibbs phenomenon.
2) Calculates the percentage overshoot.
3) Calculates the energy in the error between original and approximated signal

Required Products MATLAB
MATLAB release MATLAB 8.1 (R2013a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (1)
07 Jan 2015 Ali Waqas

thanks for this ! was very helpfull

Updates
24 Sep 2013 1.3

This version also plots the Fourier coefficients. The is modified for simplicity and readability.

25 Sep 2013 1.14

It does the following:
1) Demonstrates the effect of truncation of Fourier series coefficients, also known as Gibbs phenomenon.
2) Calculates the percentage overshoot.
3) Calculates the energy in the error between original and approximated signal

Contact us