24小时热门版块排行榜    

CyRhmU.jpeg
查看: 869  |  回复: 7

firstone

木虫 (正式写手)

[求助] 创建系统聚类树出错?!


创建系统聚类树,方法为最短距离法,出现上述错误,咱回事呀!
回复此楼

» 猜你喜欢

» 本主题相关价值贴推荐,对您同样有帮助:

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

dbb627

荣誉版主 (著名写手)

【答案】应助回帖

感谢参与,应助指数 +1
firstone(金币+2): 有帮助 2012-02-16 10:09:28
你的matlab安装文件不完整,缺strmatch函数
我的运行没问题
>> X=rand(20,1);
>> y=pdist(X);
>> z=linkage(y,'single')

z =

    9.0000   13.0000    0.0003
   20.0000   21.0000    0.0020
    4.0000   18.0000    0.0024
   10.0000   22.0000    0.0054
   12.0000   24.0000    0.0057
    2.0000   23.0000    0.0076
   15.0000   19.0000    0.0081
    1.0000   27.0000    0.0144
    3.0000   16.0000    0.0149
   11.0000   29.0000    0.0157
    6.0000   30.0000    0.0294
   25.0000   26.0000    0.0414
    8.0000   14.0000    0.0615
   17.0000   33.0000    0.0636
    5.0000   34.0000    0.0855
   28.0000   32.0000    0.0911
    7.0000   31.0000    0.1209
   35.0000   37.0000    0.1433
   36.0000   38.0000    0.1598

>>
The more you learn, the more you know, the more you know, and the more you forget. The more you forget, the less you know. So why bother to learn.
2楼2012-02-16 09:56:33
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

firstone

木虫 (正式写手)

引用回帖:
2楼: Originally posted by dbb627 at 2012-02-16 09:56:33:
你的matlab安装文件不完整,缺strmatch函数
我的运行没问题
>> X=rand(20,1);
>> y=pdist(X);
>> z=linkage(y,'single')

z =

    9.0000   13.0000    0.0003
   20.0000   21.0000 ...

杯催,没装完整,安装时没勾选好吗,现该如何加载这些函数?
3楼2012-02-16 10:12:07
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

firstone

木虫 (正式写手)

引用回帖:
2楼: Originally posted by dbb627 at 2012-02-16 09:56:33:
你的matlab安装文件不完整,缺strmatch函数
我的运行没问题
>> X=rand(20,1);
>> y=pdist(X);
>> z=linkage(y,'single')

z =

    9.0000   13.0000    0.0003
   20.0000   21.0000 ...



在其它工具箱下找到了strmatch函数,俺用stats工具箱。把其它工具箱的拷到该工具箱目录下可行?


4楼2012-02-16 10:29:48
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

dbb627

荣誉版主 (著名写手)

xiegangmai(金币+1): 谢谢参与! 2012-02-16 23:13:56
你用path加载下试试
The more you learn, the more you know, the more you know, and the more you forget. The more you forget, the less you know. So why bother to learn.
5楼2012-02-16 10:35:12
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

firstone

木虫 (正式写手)

引用回帖:
: Originally posted by dbb627 at 2012-02-16 10:35:12:
你用path加载下试试

在其它目录下找到了strmatch函数,把它拷到stats工具箱下,还是不行,搞不清!连运行File菜单里的Set path....命令都缺pathtool函数,
显示:??? Undefined function or variable 'pathtool'.真倒。
改用绿色便携版的R2007b,没有出现问题。R2010b安装版出了这问题,是哪个文件包没装上了,汗S了,dbb627 兄用的是哪个版的哈?
6楼2012-02-16 14:03:15
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

dbb627

荣誉版主 (著名写手)

我用的是Matlab 2010b
The more you learn, the more you know, the more you know, and the more you forget. The more you forget, the less you know. So why bother to learn.
7楼2012-02-16 14:44:35
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

firstone

木虫 (正式写手)

引用回帖:
7楼: Originally posted by dbb627 at 2012-02-16 14:44:35:
我用的是Matlab 2010b

估计俺得重新找个来安装,俺这个安装包3.88G,也不小哈。Thanks!
8楼2012-02-16 16:07:45
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 firstone 的主题更新
信息提示
请填处理意见