No BSD License  

Highlights from
simplex tableau and Matlab

from simplex tableau and Matlab by Chun Zheng
Solving the simplex tableau using matlab

newMat=multiFromRowToRow(mat,fromRow,toRow,multiplier)
function newMat=multiFromRowToRow(mat,fromRow,toRow,multiplier)
%Add a multiple of one row in a matrix to another row
%multiFromRowToRow(mat,fromRow,toRow,multiplier)
	rG=mat(fromRow,:)*multiplier;
	mat(toRow,:)=rG + mat(toRow,:);
	newMat=mat;

Contact us at files@mathworks.com