the function in m file is as

function [X]=time(h)

X=(h/2);

end

This function minimizes passenger waiting time.

Similar questions and discussions