| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 1314 人关注过本帖
标题:关于预测的MATLAB编程
取消只看楼主 加入收藏
liduchina
Rank: 1
等 级:新手上路
帖 子:2
专家分:0
注 册:2006-8-22
收藏
 问题点数:0 回复次数:0 
关于预测的MATLAB编程

clear
clc
close
t=[0:0.025:20.025];
Y=sin(t)*100+12.5+20*rand(size(t));Y=Y'
plot(Y)
figure
n=length(Y);
n1=500;
y=Y./max(Y);
(导入数据就是附件)
//get the trainning and testing data
train_data as inout for training the NN
train_target as output for training the NN
test_data as inout for testing the NN
test_target as output for testing the NN

m=20;//define a moving window e.g. 20
which is also the input number of nodes for the NN
it is also used to generate the train and the test date
load exdata
//How can you use the moving window concept to form these training the test data sets?

搜索更多相关主题的帖子: MATLAB 预测 
2006-09-01 21:30
快速回复:关于预测的MATLAB编程
数据加载中...
 
   



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

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