XOR Data Generation
0001 %XOR Data Generation 0002 0003 clear all; 0004 0005 EncodeMethod='Spikes'; 0006 DecodeMethod='Spikes'; 0007 InputSpikeTimes={[1 3; 2 3] [1 3; 2 6] [1 6; 2 3] [1 6; 2 6]} 0008 DesiredSpikeTimes={[1 20] [1 30] [1 30] [1 20]} 0009 TestFlag=0; 0010 0011 save('XOR');