How To Solve For Unknown Variables In Matlab