Implement a function that takes a square matrix A and returns
a nonzero vector yc which minimizes
and a nonzero vector yr which minimizes
if A=eye(3), a possible solution:
yc=[1 0 0]' yr=[1 -1 1]'