How can i make a training of square pulse to neural network ? how
이전 댓글 표시
when i am training a square wave to a neural network ,network reply response below
</matlabcentral/answers/uploaded_files/24263/111.JPG> figure 1 : response of training of network ; figure 2: square pulse train ; why don't have same network's response and pulse train? code: 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)
댓글 수: 1
Greg Heath
2015년 1월 23일
편집: Greg Heath
2015년 1월 23일
Reformat so that the program will run when cut and pasted into the command line
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Signal Generation, Analysis, and Preprocessing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

