% Written by Jason Rennie <jrennie@ai.mit.edu> for 6.891, Sept. 2000

% To run a matlab script (.m extension), simply type the name of the
% script on the command-line.  Here, we assume that a file named
% 'linear_regression.m' exists in the current directory.
linear_regression

% WARNING!!!  Matlab won't let you use any file name you want.  For
% example Matlab treats dashes, '-', as special characters.

% Get a listing of available variables with 'who' or 'whos'
x = [1 2 3 4 5]
y = [1 2 3; 4 5 6]
who
whos
