Home > Back-end >  Please help to translate the following code, thank you!
Please help to translate the following code, thank you!

Time:03-09

SOS [0]=0.032317154109478;//61929934686 f.//g
SOS [1]=1.952610254287720;//179495329 f.//a1
SOS [2]=0.958325564861298;//218238323 f.//a2
SOS [3]=1;//218238323 f.//b1
SOS [4]=0;//218238323 f.//b2
SOS [5]=1;//218238323 f.//b3
IIR_2nd_filter (pmem psignal, lg, SOS);

CodePudding user response:

The top, to personal response

CodePudding user response:

This no head no tail code, only to see the code is for SOS array assignment 1 to the sixth element, and then call a function, the SOS array address as the last parameter

CodePudding user response:

"//" at the back of the content is a comment

CodePudding user response:

Is, indeed, no head no tail code,
The filter filter
Signal the signal
Mem memory (should be a memory buffer)

CodePudding user response:

The previous six lines to array assignment, initialize array,
The last line of the function, and finally a parameter array address,
Looks like this function call just pass the array first address, not pass the array size,
  • Related