This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

新手一个,问个菜鸟问题,正弦波的问题

Other Parts Discussed in Thread: MATHLIB

在C6747中,使用sin()函数的时候为什么会出现三角波,而不是正弦波呢?

float test_2[256];
unsigned int test_1;

for(test_1=0;test_1<256;test_1++)
{
test_2[test_1] = sin(test_1*2*pi/256);
test_1++;
}