multiple inputs with nntool
6 次查看(过去 30 天)
显示 更早的评论
Hi, I'm a new user of Matlab and trying to create a neural network with the nntool as it is much easier with this interface. While I can load many inputs and targets, when I want to create the network I am having a problem loading multiple inputs and targets at the same time (there is the option of loading only one), for ex. with back-propagation. I would really appreciate any help thanks in advance
0 个评论
回答(3 个)
mohammed
2011-6-2
The following code import 4 columns as inputs, and 1 column as output
may you can modify as your own dataset
inputs = xlsread('D:\MyData\data.xls', 1, 'A2:D115');
targets = xlsread('D:\MyData\data.xls', 1, 'L2:L115');
inputs=inputs';
targets=targets';
0 个评论
mohammed
2011-6-1
There is may way to load your data before using nntool
the following URL shows how to load data from text file
after that you can use nntool
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Standard File Formats 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!