在线咨询
eetop公众号 创芯大讲堂 创芯人才网
切换到宽版

EETOP 创芯网论坛 (原名:电子顶级开发网)

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
查看: 4741|回复: 2

sigma delta design toolbox delsig中clans()函数

[复制链接]
发表于 2011-8-4 14:00:47 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

x
本帖最后由 eecsseudl 于 2013-4-29 09:58 编辑

调用synthsizeNTF()没有问题。
但调用了clans()函数,发生如下错误,请问如果解决啊? 多谢了。
说明书上说这个函数需要optimaztion toolbox支持。我安装的matlab中有..\toolbox\optim\, 应该就是这个函数了吧?

再次感谢你的阅读和解答

>> H= clans(5,32,5,.95,1)
Warning: Options LargeScale = 'off' and Algorithm = 'trust-region-reflective' conflict.
Ignoring Algorithm and running active-set method. To run trust-region-reflective, set
LargeScale = 'on'. To run active-set without this warning, use Algorithm = 'active-set'.
> In fmincon at 410
  In clans6 at 35
  In clans at 19
Warning: This zpk model has a complex gain or some complex zeros or poles that do not come in
conjugate pairs.  
> In warning at 26
  In zpk.zpk at 232
  In dsclansNTF at 20
  In clans6>dsclansObj6a at 44
  In clans6>@(x)dsclansObj6a(x,order,OSR,Q,rmax,Hz) at 35
  In fmincon at 517
  In clans6 at 35
  In clans at 19
Warning: This zpk model has a complex gain or some complex zeros or poles that do not come in
conjugate pairs.  
> In warning at 26
  In zpk.zpk at 232
  In dsclansNTF at 20
  In clans6>dsclansObj6b at 51
  In clans6>@(x)dsclansObj6b(x,order,OSR,Q,rmax,Hz) at 36
  In fmincon at 597
  In clans6 at 35
  In clans at 19
??? Error using ==> lti.impulse at 66
Cannot simulate the time response of LTI models with complex data.
Error in ==> clans6>dsclansObj6b at 52
g = sum(abs(impulse(H,100))) -1 - Q;
Error in ==> clans6>@(x)dsclansObj6b(x,order,OSR,Q,rmax,Hz) at 36
[],[],[],[],[],[],@(x)dsclansObj6b(x,order,OSR,Q,rmax,Hz), options );
Error in ==> fmincon at 597
        [ctmp,ceqtmp] = confcn{3}(X,varargin{:});
Error in ==> clans6 at 35
x = fmincon(@(x)dsclansObj6a(x,order,OSR,Q,rmax,Hz),x, ...
Error in ==> clans at 19
    NTF=clans6(order,OSR,Q,rmax,opt);
Caused by:
    Failure in initial user-supplied nonlinear constraint function evaluation. FMINCON cannot
    continue.






发表于 2011-8-7 16:01:21 | 显示全部楼层
好东西一定要顶
发表于 2014-5-27 13:03:03 | 显示全部楼层
我在运行synthesizeNTF的时候出现了如下错误
??? Undefined function or method 'zpk' for input arguments of type 'double'.

Error in ==> synthesizeNTF at 82
ntf = zpk(z,zeros(1,order),1,1);

zpk函数缺少?是什么问题呢?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

站长推荐 上一条 /1 下一条

小黑屋| 手机版| 关于我们| 联系我们| 在线咨询| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2024-11-15 17:55 , Processed in 0.022840 second(s), 8 queries , Gzip On, Redis On.

eetop公众号 创芯大讲堂 创芯人才网
快速回复 返回顶部 返回列表