yuan2005 发表于 2007-5-13 13:33

我的代码是什么错误?

phi_m_1=mean(log(C_m_1));
ApEn_value=;
运行结果显示:

Warning: Divide by zero.
(Type "warning off MATLAB:divideByZero" to suppress this warning.)
> In E:\matlab\toolbox\matlab\datafun\mean.m at line 26
In E:\cc\data\小波包与近似熵\ApEn.m at line 32
Warning: Divide by zero.
(Type "warning off MATLAB:divideByZero" to suppress this warning.)
> In E:\matlab\toolbox\matlab\datafun\mean.m at line 26
In E:\cc\data\小波包与近似熵\ApEn.m at line 33
K>>
这是什么原因?

pengweicai 发表于 2007-5-13 14:43

Warning: Divide by zero.
你的有个 除数为零了,仔细检查。
页: [1]
查看完整版本: 我的代码是什么错误?