- #1

homerwho

- 42

- 17

- TL;DR Summary
- I was fiddling with the amplitude and frequency to find an approximately flat sine function

Interpolating a straight line with a trigonometric function.

In Matlab I ended up with this expression. fplot(@(x)(.0000001*cos(x*2*pi)+10), [0 1])

Would anyone like to discuss what this could be used in?

In Matlab I ended up with this expression. fplot(@(x)(.0000001*cos(x*2*pi)+10), [0 1])

Would anyone like to discuss what this could be used in?