本人利用crosscorrf计算互相关,手册上给出说法如下:
#include <stats.h>
void crosscorrf (a,b,n,m,c)
const float a[]; /* Input vector a */
const float b[]; /* Input vector b */
int n; /* Number of input samples */
int m; /* Lag count */
float c[]; /* Pointer to output vector c */
请问有没有具体的C代码的计算例子,本人始终计算不出来。