标题:关于预测的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



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-87500-1-1.html




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

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