sin and cos in dsp and green?
Posted: Wed Jun 17, 2015 7:26 pm
hello
could someone please describe the difference between the sin primitive in green and the sin1(x) funtion in dsp code?
the description in the user guide is also fucked up :
what a shame
edit: my reader doesn't show this right!
i try to translate some codes from dsp into green which includes sin and cos functions and i'm not able to do this?
could someone please describe the difference between the sin primitive in green and the sin1(x) funtion in dsp code?
the description in the user guide is also fucked up :
sin1(a)
cos1(a)
tan1(a)
Mathematical sine, cosine and tangent
The 1 indicates that the input value a is converted to a value in the range 0-1
and not 0 and 2 . So 0.5 would be equivalent to and 1.25 would be
equivalent to /2
what a shame
edit: my reader doesn't show this right!
i try to translate some codes from dsp into green which includes sin and cos functions and i'm not able to do this?