how can a I train this whitout using nftool?

well, i need to train a neural network whit a hidden layer whit 10 neurons and single neuron as a output neuron, the thing is that I need this nn to learn any lineal function "y=45.224552x" o something like that, I try modifing the xor nn that i find in this page but a I think the activation functions are not the right ones, thanks to anyone who can help me

 Accepted Answer

help fitnet
doc fitnet
Use all of the defaults.
Hope this helps.
Thank you for formally accepting my answer
Greg

More Answers (0)

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Asked:

on 15 Dec 2013

Answered:

on 17 Dec 2013

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!