Jan 22, 2015 #1 M mahmoud92 Newbie level 2 Joined Jan 22, 2015 Messages 2 Helped 0 Reputation 0 Reaction score 0 Trophy points 1 Activity points 10 when i am training a square wave to a neural network ,network reply response figure 1 : response of training of network figure 2: square pulse train Code: clear all fs = 100000; t = 0:1/fs:5; x2 = square(2*pi*t); net = newff([-1.5 1.5],[5,1],{'logsig','purelin'}); net= train(net,t,x2); Y=net(x2); subplot(211) plot(t,Y) axis([0 5 -1.2 1.2]); subplot(212) plot(t,x2); Last edited by a moderator: Jan 22, 2015
when i am training a square wave to a neural network ,network reply response figure 1 : response of training of network figure 2: square pulse train Code: clear all fs = 100000; t = 0:1/fs:5; x2 = square(2*pi*t); net = newff([-1.5 1.5],[5,1],{'logsig','purelin'}); net= train(net,t,x2); Y=net(x2); subplot(211) plot(t,Y) axis([0 5 -1.2 1.2]); subplot(212) plot(t,x2);
Jan 22, 2015 #2 D.A.(Tony)Stewart Advanced Member level 7 Joined Sep 26, 2007 Messages 9,071 Helped 1,825 Reputation 3,649 Reaction score 2,222 Trophy points 1,413 Location Richmond Hill, ON, Canada Activity points 59,846 What is your question? Any network response requires a transfer function or system response within the spectrum of the signal to get a neural response.
What is your question? Any network response requires a transfer function or system response within the spectrum of the signal to get a neural response.
Jan 24, 2015 #3 M mahmoud92 Newbie level 2 Joined Jan 22, 2015 Messages 2 Helped 0 Reputation 0 Reaction score 0 Trophy points 1 Activity points 10 I want to the network's response will be same main function but is showed that net's training has a problem,if you implement code. but CODE is generated so has a problem
I want to the network's response will be same main function but is showed that net's training has a problem,if you implement code. but CODE is generated so has a problem