FFT
代码说明:
脑波FFT变换 调用格式见m文件头部说明(下边也复制了一份) 有配套.DLL.h.lib.ctf文件,可以在C或C++环境中调用 ------------------------------------ 保存为FFT.m文件 输入参数: N:进行FFT变换的点数(要求是2的N次幂); fs:信号的采样频率(frequency of simpling) sig:进行FFT变换的数组(一维)。 输出参数: f_sig:变换后的信号(一维数组) E_delta、E_theta 、E_alpha、E_beta分别表示δθαβ相应频段的能量加和。 other为其余频段的能量加和(供参考用) -------------------------------------------------------------------------- function[ f_sig ,E_delta , E_theta , E_alpha , E_beta , other ] = FFT( N , fs , sig )(EEG FFT transform is called m file format, see head illustrate the matching DLL files, you can be C or C++ to call------------------------ simpling) sig: to FFT transform array (one dimension). Output Parameters: f_sig: transformation of the signal (one-dimensional array) E_delta, E_theta, E_alpha, E_beta δθαβ, respectively, the energy increases and the corresponding frequency band. Other for the rest of the energy band increases, and (for reference) -------------------------------------------------------------------------- function [f_sig, E_delta, E_theta, E_alpha, E_beta , other] = FFT (N, fs, sig))
下载说明:请别用迅雷下载,失败请重下,重下不扣分!