Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FIRaccum[0]=SINLUT[0];
- FIRaccum[1]=SINLUT[1] + 3 * SINLUT[0];
- FIRaccum[2]=SINLUT[2] + 3 * SINLUT[1] + 3 * SINLUT[0];
- FIRaccum[3]=SINLUT[3] + 3 * SINLUT[2] + 3 * SINLUT[1] + 4 * SINLUT[0];
- for(int i = 4; i<=4095;){
- FIRaccum[i] = 0.0831*(SINLUT[i] + 3*SINLUT[i-1] + 3*SINLUT[i-2] + SINLUT[i-3] + 4*SINLUT[i-4]);
- i+=STEPSIZE;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement