5416 DSP CCStudio sine wave program

Friday, July 13, 2012


    

Code Composer Studio sine wave program

      #include<stdio.h>
#include<math.h>
float a[100];
main()
{
 int i;
for(i=0;i<99;i++)
{
a[i]= sin(2*3.14*5*i/100);
printf("%f",a[i]);
}
}

 

0 comments:

Post a Comment