?? removedc.c
字號:
/*| This material contains proprietary software of Entropic Processing, Inc. | Any reproduction, distribution, or publication without the the prior | written permission of Entropic Processing, Inc. is strictly prohibited.| Any public distribution of copies of this work authorized in writing by| Entropic Processing, Inc. must bear the notice | | "Copyright 1986 Entropic Processing, Inc."*/#ifdef SCCSstatic char *sccs_id = "@(#)removedc.c 1.2 4/29/86";#endiffloat remove_dc(x,size) /* remove dc value in a data sequence */float x[];int size;{ int i; float dc = 0.0, avg = 0.0; for (i = 0; i < size; dc += x[i++]); avg = dc/size; for (i = 0; i < size; x[i++] -= avg); return dc;}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -