function convert()

m = input('Enter meters: ');
y = m2y(m);
fprintf('%6.2f meters = %6.2f yards\n', m, y);
end



function yds = m2y(mt)
yds = mt * 1.09361;
end

