% part a, number 1, homework set 1
% This function receives a vector x, 
% and returns the vector whose entries are those
% of x, in the opposite order

  x = input('Please enter a vector x in the form [x1,x2,x3,...,xn]:');

  y = x(size(x):-1:1)


