Add some tests on different variations of Hough algorithm.
[master-thesis.git] / src / Tests_hough / expand_matrix.m
diff --git a/src/Tests_hough/expand_matrix.m b/src/Tests_hough/expand_matrix.m
new file mode 100644 (file)
index 0000000..b165902
--- /dev/null
@@ -0,0 +1,4 @@
+function [m] = expand_matrix(m)
+    m = [m(:,1) m m(:,end)];
+    m = [m(1,:); m; m(end,:)];
+end
\ No newline at end of file