%% load the data linux_sparse_cnexp=load("neuron_benchmarks/linux_sparse_cnexp.dat"); macosx_sparse_cnexp=load("neuron_benchmarks/macosx_sparse_cnexp.dat"); linux_sparse_adrunge=load("neuron_benchmarks/linux_sparse_adrunge.dat"); macosx_sparse_adrunge=load("neuron_benchmarks/macosx_sparse_adrunge.dat"); linux_cnexp=load("neuron_benchmarks/linux_cnexp.dat"); macosx_cnexp=load("neuron_benchmarks/macosx_cnexp.dat"); macosx_parts_sparse_cnexp=load("neuron_benchmarks/macosx_parts_sparse_cnexp.dat"); linux_parts_sparse_cnexp=load("neuron_benchmarks/linux_parts_sparse_cnexp.dat"); macosx_parts_cnexp=load("neuron_benchmarks/macosx_parts_cnexp.dat"); linux_parts_cnexp=load("neuron_benchmarks/linux_parts_cnexp.dat"); %% compute the averages linux_sparse_cnexp_avg=sum(linux_sparse_cnexp)/length(linux_sparse_cnexp); macosx_sparse_cnexp_avg=sum(macosx_sparse_cnexp)/length(macosx_sparse_cnexp); linux_sparse_adrunge_avg=sum(linux_sparse_adrunge)/length(linux_sparse_adrunge); macosx_sparse_adrunge_avg=sum(macosx_sparse_adrunge)/length(macosx_sparse_adrunge); linux_cnexp_avg=sum(linux_cnexp)/length(linux_cnexp); macosx_cnexp_avg=sum(macosx_cnexp)/length(macosx_cnexp); macosx_parts_sparse_cnexp_avg=sum(macosx_parts_sparse_cnexp)/length(macosx_parts_sparse_cnexp); linux_parts_sparse_cnexp_avg=sum(linux_parts_sparse_cnexp)/length(linux_parts_sparse_cnexp); macosx_parts_cnexp_avg=sum(macosx_parts_cnexp)/length(macosx_parts_cnexp); linux_parts_cnexp_avg=sum(linux_parts_cnexp)/length(linux_parts_cnexp); %% plot the averages bar([[linux_sparse_cnexp_avg macosx_sparse_cnexp_avg], [linux_cnexp_avg macosx_cnexp_avg], [linux_sparse_adrunge_avg macosx_sparse_adrunge_avg], [linux_parts_sparse_cnexp_avg macosx_parts_sparse_cnexp_avg], [linux_parts_cnexp_avg macosx_parts_cnexp_avg]]); legend("Linux","Mac OS X");