Write a function that will take in a simplex tableau and an associated basis, and return the initial feasible solution of the tableau x as a column vector, as well as the objective function value z.
The tableau and basis vector can be of any size. The rst line of the function should appear as:
function [x, z] = readSolution(tableau, basis)
Optional Challenge: This should not take more than four lines