summaryrefslogtreecommitdiff
path: root/total_error.m
blob: 78fac569f3d4b1e047145577d3ae86db9938742d (plain)
1
2
3
4
5
function err = total_error(a, b)

	err = sum(sum(abs(a - b)));

endfunction