In: Computer Science
Create a matlab function that converts Miles per hour to feet per second. Please show code in matlab
% MATLAB Program to convert miles per hour to feet per second
% The conversion rate is 1 miles/hr = 1.4667 feet/sec (search internet)
function res = MilesToFeet(milesPerHr)
res = milesPerHr * 1.46667;
end