Cursera: machine learning ex7.

This commit is contained in:
Vahagn Khachatryan
2015-03-30 12:17:51 +04:00
parent 29c396874e
commit ed6828bf1a
22 changed files with 1401 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
function drawLine(p1, p2, varargin)
%DRAWLINE Draws a line from point p1 to point p2
% DRAWLINE(p1, p2) Draws a line from point p1 to point p2 and holds the
% current figure
plot([p1(1) p2(1)], [p1(2) p2(2)], varargin{:});
end