diff options
Diffstat (limited to 'total_error.m')
-rw-r--r-- | total_error.m | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/total_error.m b/total_error.m new file mode 100644 index 0000000..78fac56 --- /dev/null +++ b/total_error.m @@ -0,0 +1,5 @@ +function err = total_error(a, b) + + err = sum(sum(abs(a - b))); + +endfunction |