function mn=inter(m)
% function mn=inter(m)  used by driver, interchanges two rows in matrix
%  This function interchanges two rows
%   in the matrix: m.  Used by driver.
%   by Ozgur Bayazitoglu
r=input('give the first row   ');
r2=input('enter the other row  ');
mt1=m(r,:);
m(r,:)=m(r2,:);
m(r2,:)=mt1;
mn=m;
