Matlab

Quick notes

! Matlab start from 1, not 0 !

switch

dataset = 'minist';
switch(dataset):
    case 'cifar-10'
        code;
    case 'minist'
        code;
    otherwise
        error('Unrecognized dataset!')
end