Skip to content

Instantly share code, notes, and snippets.

@Shengliang
Created September 30, 2016 18:56
Show Gist options
  • Save Shengliang/f5b74b5b180e02c244b64dc95a00e1ba to your computer and use it in GitHub Desktop.
Save Shengliang/f5b74b5b180e02c244b64dc95a00e1ba to your computer and use it in GitHub Desktop.
Reference:http://www.informit.com/articles/article.aspx?p=1374896&seqNum=7
An = 2/(n*pi)
where:
An = the amplitude of the nth harmonic
pi = the constant, 3.14159...
n = the harmonic number, only odd allowed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment