I’ve always wanted to say that…
This is slightly off topic, but still part of my Java project work, so I thought there might be someone here that can help me.
I’m working on a neural network project, and what i need to do is take the following sin wave (in black) and create the red line, which is the ideal output of the network.
Currently I’ve been doing this manually in Excel, because i have no idea how to calculate this. Basically, when the angle is at the 90 degree position, the output needs to be 1, and at the 270 degree position, it needs to be -1, and anywhere else it needs to be as close to zero as possible.
I probably wouldn’t be the first to say I’m terrible with Trig’
Thanks all,
Matt