Created
November 7, 2015 16:43
-
-
Save vinutah/fae33d7c7152bbc7a66c to your computer and use it in GitHub Desktop.
sine inputs and functions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (strcmp(initialCond,"sin")==0){ | |
for ( j = 0; j < x_num; j++ ){ | |
h[j] = ampl * sin ((3.14 * freq * j ) / x_num) ; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment