| 数据搜索系统,热门电子元器件搜索 |
|
RM0020 数据表(PDF) 31 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
RM0020 数据表(HTML) 31 Page - STMicroelectronics |
|
31 / 69 page ![]() RM0020 Function API 31/69 Arguments: Description: Windowing function for real float data. Input data are stored in x vector, output data are written into y vector. The y vector can be the same as x vector (in-place windowing). Algorithm: Equation 27 for each k = 0,1,...N-1 Note: There must be 16 bytes of readable memory behind input vector x and 8 bytes of readable memory behind window vector w. Performance: See Section 7 and Table 44. Example 13. window_apply_real_float #include "libdsp2.h" float x[64+4]; /* +4 to ensure there is 16 bytes of readable memory behind buffer */ float w[64+2]; /* +2 to ensure there is 8 bytes of readable memory behind buffer */ void main(void) { unsigned int i, N; /* length of vectors is 64 */ N = 64; /* prepare example input data */ for (i = 0; i < N; i++) x[i] = i+1; for (i = 0; i < N; i++) w[i] = i+N; /* windowing function on real float data, x[i] = x[i]*w[i] */ window_apply_real_float(N, x, x, w); } 6.14 Real frac16 windowing function Function call: void window_apply_real_frac16(unsigned int N, short *x, short *y, short *w); Table 13. window_apply_real_float arguments N in length of vectors, must be multiple of 16 x(1) 1. All vectors must be double word aligned. All vectors have the following memory layout: x(0) x(1)... x(N-1). in pointer to the input vector of length N y(1) out pointer to the output vector of length N, y vector can be the same as x vector (in-place windowing) w(1) in pointer to the window vector of length N yk xk wk = |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |