| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 616 人关注过本帖
标题:plot问题
只看楼主 加入收藏
张泽
Rank: 1
等 级:新手上路
帖 子:5
专家分:0
注 册:2008-4-11
收藏
 问题点数:0 回复次数:0 
plot问题
P=[0 1 2 3 4 5 6 7 8 9 10];
T=[0 1 2 3 4 3 2 1 2 3 4]
net=newff([0 10],[5 1],{'tansig' 'purelin'},'traingd','learngd','msereg');
net.trainParam.epochs=200;
net=train(net,P,T);
figure;
Y=sim(net,p);
plot(P,T,P,Y,'o')

??? Error using ==> plot
Vectors must be the same lengths.

Error in ==> Untitled at 8
plot(P,T,P,Y,'o')
搜索更多相关主题的帖子: plot Vectors Untitled sim 
2008-04-11 09:22
快速回复:plot问题
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.013389 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved