Part Number: TMDSDSK6713
Hi Experts,
Good day! I need your assistance regarding the customer's inquiry below.
#include <stdlib.h>
#include <math.h>
#include <time.h>
int i;
int count=0;
int px=0;
float w0[8];
int L=4;
int N=6;
double signal[8]={1,2,3,4,5,6,7,8};
double h[4]={2,1,0,3};
float buffer1[6];
int main()
{
w0[count]=0;
buffer1[px]=signal[count];
for(i=0;i<L;i++)
{
w0[count]=w0[count]+((h[i]*buffer1[(px-L+1+i)%N]));
}
count=count++;
px=(px+1)%N;
return 0;
}