# not a function file
1;

function cost = costFunction( theta )
    cost = theta(1);
end

initial_theta = [0];
[theta, cost] = fminunc(@(t)(costFunction(t)), initial_theta);
