Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x = [0 1 2 3 4 5 6 7 8];
- t = [0 0.84 0.91 0.14 -0.77 -0.96 -0.28 0.66 0.99];
- plot(x,t,'o')
- net = feedforwardnet(10);
- net = configure(net,x,t);
- y1 = net(x);
- plot(x,t,'o',x,y1,'x')
- net = train(net,x,t);
- y2 = net(x);
- plot(x,t,'o',x,y1,'x',x,y2,'*')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement