summaryrefslogtreecommitdiff
path: root/calc_error.m
diff options
context:
space:
mode:
Diffstat (limited to 'calc_error.m')
-rw-r--r--calc_error.m3
1 files changed, 1 insertions, 2 deletions
diff --git a/calc_error.m b/calc_error.m
index 0c27b2b..7fcf0e1 100644
--- a/calc_error.m
+++ b/calc_error.m
@@ -3,8 +3,7 @@ function calc_error(name, data, pred)
quad = quad_error(data, pred);
total = total_error(data, pred);
- printf('%15s quad: %9d\n', name, quad);
- printf('%15s total: %9d\n', name, total);
+ printf('%10s quad: %d\t total: %d\n', name, quad, total);
plot((sum(abs(data - pred))), '-ob;unsorted;');
hold on;