![]() |
| ||
| Generating sine wave HI All How can we generate a sine wave without using the sin() function. Thanks pretu |
| ||
| Re: Generating sine wave you can use the sine series for calculation upto a certain accuracy and then plot the curve Quote:
|
| ||
| Re: Generating sine wave I'm assuming you don't want to use the cosine function either :) You could create a table of results and read the values off that instead of using the sine function. Alternatively you could use exponentials and imaginary numbers ... |
| ||
| Re: Generating sine wave Take a look at the code snippet at: http://www.daniweb.com/code/snippet66.html |
| ||
| Re: Generating sine wave What's with all the "how to do x without using the obvious x" questions? http://www.daniweb.com/techtalkforums/thread80025.html |
| All times are GMT -4. The time now is 11:44 pm. |
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC