声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 1511|回复: 3

[工具箱] 运行时频工具箱中的函数时出现的问题!

[复制链接]
发表于 2006-12-19 15:28 | 显示全部楼层 |阅读模式

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

您需要 登录 才可以下载或查看,没有账号?我要加入

x
我在matlab7.0中安装了时频工具箱,在help tfrstft时,出现例子
Example :
         sig=[fmconst(128,0.2);fmconst(128,0.4)]; tfr=tfrstft(sig);
         subplot(211); imagesc(abs(tfr));
         subplot(212); imagesc(angle(tfr));
可是运行后,却出现错误
Warning: Could not find an exact (case-sensitive) match for 'tfrstft'. D:\Program Files\MATLAB704\work\tftb\mfiles\TFRSTFT.M is a case-insensitive match and will be used instead.  You can improve the performance of your code by using exact name matches and we therefore recommend that you update your usage accordingly.  Alternatively, you can disable this warning using warning('off','MATLAB:dispatcher:InexactMatch').
> In Untitled2 at 1
??? Error using ==> window
Not enough input arguments.

Error in ==> TFRSTFT at 44
t=1:xrow; h = window(hlength); trace=0;

Error in ==> Untitled2 at 1
sig=[fmconst(128,0.2);fmconst(128,0.4)]; tfr=tfrstft(sig);
不知道到底是什么原因,请大家帮帮忙!
回复
分享到:

使用道具 举报

发表于 2006-12-19 16:57 | 显示全部楼层
出现警告是因为大小写不一致的问题
错误是因为时频工具箱中和matlab自带的都有window函数
我认为应该是要调用时频工具箱中的的window函数,你把函数名改掉即可

评分

1

查看全部评分

发表于 2007-10-18 15:15 | 显示全部楼层
终于找到相同的问题了,真实太感谢了,我也是一样的错误,郁闷死了,感谢啊感谢。
请问你的时频工具箱在哪找的,我找了老久没搜到,还是问师兄要的
发表于 2007-10-18 16:30 | 显示全部楼层
原帖由 lzcc 于 2007-10-18 15:15 发表
终于找到相同的问题了,真实太感谢了,我也是一样的错误,郁闷死了,感谢啊感谢。
请问你的时频工具箱在哪找的,我找了老久没搜到,还是问师兄要的


请搜索版面,这个问题讨论过多次
您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

QQ|小黑屋|Archiver|手机版|联系我们|声振论坛

GMT+8, 2024-9-23 21:25 , Processed in 0.071094 second(s), 22 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表