warmUpExercise.m 513 B

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