Files
MachineLearningCoursera/machine-learning-ex1/ex1/warmUpExercise.m
2015-12-05 16:43:37 +01:00

22 lines
513 B
Matlab

function A = warmUpExercise()
%WARMUPEXERCISE Example function in octave
% A = WARMUPEXERCISE() is an example function that returns the 5x5 identity matrix
A = eye(5);
% ============= YOUR CODE HERE ==============
% Instructions: Return the 5x5 identity matrix
% In octave, we return values by defining which variables
% represent the return values (at the top of the file)
% and then set them accordingly.
% ===========================================
end