Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

square wave with Gibbs phenomenon

Status
Not open for further replies.

IceMan30

Military
Joined
Jan 19, 2011
Messages
32
Location
US
I'm trying to create a square wave that accounts for the Gibbs phenomenon (the overshoot that occurs when a square wave changes direction). Specifically, I want to add overshoot at just the leading edge of a rise or fall.

Square waves are easy - manually or via function 'square'. I can also do the Gibbs phenomenon separately as an abbreviated summation of the Fourier Series. Where I'm stuck is combining the two. Maybe its simple, but I can't quite get it.

I'm not really asking for code (but I'll take it!), just a pointer in the right direction...

For more on Gibbs phenomenon:

Thanks!
 
I'll give that a go. Thanks!

:)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top