how do i generate samples of two input xor gate for neural networks
Show older comments
how do i generate 32 samples for two input xor gate
Accepted Answer
More Answers (1)
Andy L
on 28 Aug 2014
1 vote
To generate a "random" binary sequence check out this similar thread! http://www.mathworks.co.uk/matlabcentral/answers/114656-random-binary-sequence-generator. You need to do it twice (one per input) and specify the number number of samples in each sequence (32). I hope this is helpful.
Categories
Find more on Deep Learning Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!