MUTINFO mutual information [I,ERR,SNR]=mutinfo(d,c); d output DATA (each column is one trial) c CLASS, vector with 0 and 1 function [I,ERR,SNR]=mutinfo(d1,d0); d1 DATA of class 1 d2 DATA of class 0 OUTPUT: I mutual information ERR Error rate; SNR signal to noise ratio